pub struct InternalInvocationProofRequest {
pub subject: Principal,
pub role: CanisterRole,
pub subnet_id: Option<Principal>,
pub audience: Principal,
pub audience_method: String,
pub ttl_secs: u64,
pub metadata: Option<RootRequestMetadata>,
}Fields§
§subject: Principal§role: CanisterRole§subnet_id: Option<Principal>§audience: Principal§audience_method: String§ttl_secs: u64§metadata: Option<RootRequestMetadata>Trait Implementations§
Source§impl Clone for InternalInvocationProofRequest
impl Clone for InternalInvocationProofRequest
Source§fn clone(&self) -> InternalInvocationProofRequest
fn clone(&self) -> InternalInvocationProofRequest
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<'de> Deserialize<'de> for InternalInvocationProofRequest
impl<'de> Deserialize<'de> for InternalInvocationProofRequest
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 InternalInvocationProofRequest
impl RefUnwindSafe for InternalInvocationProofRequest
impl Send for InternalInvocationProofRequest
impl Sync for InternalInvocationProofRequest
impl Unpin for InternalInvocationProofRequest
impl UnsafeUnpin for InternalInvocationProofRequest
impl UnwindSafe for InternalInvocationProofRequest
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