pub struct ScopedPayload {
pub requestor: SignatureRequestor,
pub payload: Vec<u8>,
}Expand description
What the ghostkey delegate actually signs. The raw payload is never signed alone – always wrapped with the attested caller identity.
Fields§
§requestor: SignatureRequestor§payload: Vec<u8>Trait Implementations§
Source§impl Clone for ScopedPayload
impl Clone for ScopedPayload
Source§fn clone(&self) -> ScopedPayload
fn clone(&self) -> ScopedPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScopedPayload
impl Debug for ScopedPayload
Source§impl<'de> Deserialize<'de> for ScopedPayload
impl<'de> Deserialize<'de> for ScopedPayload
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 Freeze for ScopedPayload
impl RefUnwindSafe for ScopedPayload
impl Send for ScopedPayload
impl Sync for ScopedPayload
impl Unpin for ScopedPayload
impl UnsafeUnpin for ScopedPayload
impl UnwindSafe for ScopedPayload
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