pub struct VaultContents {
pub identity: Identity,
pub tenant: TenantId,
pub cache: CacheId,
pub owner_keys: Vec<PublicKey>,
pub high_water: u64,
pub issuer: Option<String>,
pub client_id: String,
}Expand description
What a vault holds once opened.
Fields§
§identity: Identity§tenant: TenantId§cache: CacheId§owner_keys: Vec<PublicKey>The owner keys the repository pins.
high_water: u64The newest roster version this owner has seen; older rosters are refused.
issuer: Option<String>The issuer join requests must have signed in at, as [login] issuer pins it.
client_id: StringThe audience join requests must carry: the client id at the issuer, as [login] client_id pins it. A version 1 vault means default_client_id.
Trait Implementations§
Auto Trait Implementations§
impl Forget for VaultContents
impl Freeze for VaultContents
impl Move for VaultContents
impl RefUnwindSafe for VaultContents
impl Send for VaultContentswhere
RawVecInner: Send,
impl Sync for VaultContentswhere
RawVecInner: Sync,
impl Unpin for VaultContents
impl UnsafeUnpin for VaultContentswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<[u8; 32]>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for VaultContentswhere
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