pub struct AuthorizationReceipt {
pub proof: String,
pub status: HostStatus,
pub user_id: String,
}Expand description
Emitted only after the local claim/ACL write is durable. The cloud must verify this receipt before committing its Host identity directory.
Fields§
§proof: String§status: HostStatus§user_id: StringTrait Implementations§
Source§impl Clone for AuthorizationReceipt
impl Clone for AuthorizationReceipt
Source§impl<'de> Deserialize<'de> for AuthorizationReceipt
impl<'de> Deserialize<'de> for AuthorizationReceipt
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for AuthorizationReceipt
impl Freeze for AuthorizationReceiptwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, SetValZST)>>: Freeze,
impl Move for AuthorizationReceipt
impl RefUnwindSafe for AuthorizationReceipt
impl Send for AuthorizationReceipt
impl Sync for AuthorizationReceipt
impl Unpin for AuthorizationReceipt
impl UnsafeUnpin for AuthorizationReceiptwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, SetValZST)>>: UnsafeUnpin,
impl UnwindSafe for AuthorizationReceipt
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