pub struct SignedUpdate {
pub nonce: Option<Vec<u8>>,
pub ingress_expiry: u64,
pub sender: Principal,
pub canister_id: Principal,
pub method_name: String,
pub arg: Vec<u8>,
pub effective_canister_id: Principal,
pub signed_update: Vec<u8>,
pub request_id: RequestId,
}
Expand description
A signed update request message. Produced by
UpdateBuilder::sign
.
Fields§
§nonce: Option<Vec<u8>>
A nonce to uniquely identify this update call.
ingress_expiry: u64
The Unix timestamp that the request will expire at.
sender: Principal
The principal ID of the caller.
canister_id: Principal
The principal ID of the canister being called.
method_name: String
The name of the canister method being called.
arg: Vec<u8>
The argument blob to be passed to the method.
effective_canister_id: Principal
The effective canister ID of the destination.
signed_update: Vec<u8>
The CBOR-encoded authentication envelope for the request.
request_id: RequestId
The request ID.
Trait Implementations§
source§impl Clone for SignedUpdate
impl Clone for SignedUpdate
source§fn clone(&self) -> SignedUpdate
fn clone(&self) -> SignedUpdate
Returns a copy of the value. Read more
1.0.0 · 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 SignedUpdate
impl Debug for SignedUpdate
source§impl<'de> Deserialize<'de> for SignedUpdate
impl<'de> Deserialize<'de> for SignedUpdate
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SignedUpdate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SignedUpdate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for SignedUpdate
impl Serialize for SignedUpdate
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SignedUpdate
impl RefUnwindSafe for SignedUpdate
impl Send for SignedUpdate
impl Sync for SignedUpdate
impl Unpin for SignedUpdate
impl UnwindSafe for SignedUpdate
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)