Struct kernel::process_checker::AcceptedCredential
source · pub struct AcceptedCredential {
pub credential: TbfFooterV2Credentials,
pub metadata: Option<CheckResultAcceptMetadata>,
}
Expand description
The accepted credential from the credential checker.
This combines both the credential as stored in the TBF footer with an optional opaque value provided by the checker when it accepted the credential. This value can be used when assigning an AppID to the application based on the how the credential was approved. For example, if the credential checker has a list of valid public keys used to verify signatures, it might set the optional value to the index of the public key in this list.
Fields§
§credential: TbfFooterV2Credentials
The credential stored in the footer that the credential checker accepted.
metadata: Option<CheckResultAcceptMetadata>
An optional opaque value set by the credential checker to store metadata about the accepted credential. This is credential checker specific.
Trait Implementations§
source§impl Clone for AcceptedCredential
impl Clone for AcceptedCredential
source§fn clone(&self) -> AcceptedCredential
fn clone(&self) -> AcceptedCredential
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for AcceptedCredential
Auto Trait Implementations§
impl Freeze for AcceptedCredential
impl RefUnwindSafe for AcceptedCredential
impl Send for AcceptedCredential
impl Sync for AcceptedCredential
impl Unpin for AcceptedCredential
impl UnwindSafe for AcceptedCredential
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)