pub struct ScopedCredentialListing {
pub credentials: Vec<ListedCredential>,
pub undecodable_credentials: Vec<String>,
pub grant_tuples: Vec<ListedGrant>,
pub undecodable_grants: Vec<String>,
pub view: String,
}Expand description
The metadata credential.list_scoped returns for the caller’s own grants.
It carries identity and protocol only, never secret material.
Fields§
§credentials: Vec<ListedCredential>§undecodable_credentials: Vec<String>Row-local decode failures; usable rows in the same reply remain available.
grant_tuples: Vec<ListedGrant>§undecodable_grants: Vec<String>Tuple-local decode failures; malformed tuples never become usable grants.
view: StringDigest over the listed rows and grants. It moves when grants or listed metadata (including conditions) change, but not when a token is refreshed.
Trait Implementations§
Source§impl Clone for ScopedCredentialListing
impl Clone for ScopedCredentialListing
Source§impl Debug for ScopedCredentialListing
impl Debug for ScopedCredentialListing
Source§impl Default for ScopedCredentialListing
impl Default for ScopedCredentialListing
impl Eq for ScopedCredentialListing
Source§impl PartialEq for ScopedCredentialListing
impl PartialEq for ScopedCredentialListing
impl StructuralPartialEq for ScopedCredentialListing
Auto Trait Implementations§
impl Forget for ScopedCredentialListing
impl Freeze for ScopedCredentialListingwhere
*const u8 is !null: Freeze,
PhantomData<ListedCredential>: Freeze,
PhantomData<String>: Freeze,
PhantomData<ListedGrant>: Freeze,
PhantomData<u8>: Freeze,
impl Move for ScopedCredentialListing
impl RefUnwindSafe for ScopedCredentialListing
impl Send for ScopedCredentialListingwhere
RawVecInner: Send,
impl Sync for ScopedCredentialListingwhere
RawVecInner: Sync,
impl Unpin for ScopedCredentialListing
impl UnsafeUnpin for ScopedCredentialListingwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<ListedCredential>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<ListedGrant>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for ScopedCredentialListingwhere
RawVecInner: UnwindSafe,
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