#[non_exhaustive]pub struct ProvisionedCamp {
pub principal: Principal,
pub credential: CampBootstrapCredential,
}Expand description
The output of a successful CampAuthority::provision call — the camp
principal record and the long-lived bootstrap credential the caller hands
to yubaba.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.principal: Principal§credential: CampBootstrapCredentialTrait Implementations§
Source§impl Clone for ProvisionedCamp
impl Clone for ProvisionedCamp
Source§impl Debug for ProvisionedCamp
impl Debug for ProvisionedCamp
impl Eq for ProvisionedCamp
Source§impl PartialEq for ProvisionedCamp
impl PartialEq for ProvisionedCamp
impl StructuralPartialEq for ProvisionedCamp
Auto Trait Implementations§
impl Freeze for ProvisionedCamp
impl RefUnwindSafe for ProvisionedCamp
impl Send for ProvisionedCamp
impl Sync for ProvisionedCamp
impl Unpin for ProvisionedCamp
impl UnsafeUnpin for ProvisionedCamp
impl UnwindSafe for ProvisionedCamp
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