pub struct CanisterInfoRequest {
pub canister_id: Principal,
pub num_requested_changes: Option<u64>,
}
Expand description
Argument type of canister_info.
Fields§
§canister_id: Principal
Principal of the canister.
num_requested_changes: Option<u64>
Number of most recent changes requested to be retrieved from canister history. No changes are retrieved if this field is null.
Trait Implementations§
Source§impl CandidType for CanisterInfoRequest
impl CandidType for CanisterInfoRequest
Source§impl Clone for CanisterInfoRequest
impl Clone for CanisterInfoRequest
Source§fn clone(&self) -> CanisterInfoRequest
fn clone(&self) -> CanisterInfoRequest
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 CanisterInfoRequest
impl Debug for CanisterInfoRequest
Source§impl<'de> Deserialize<'de> for CanisterInfoRequest
impl<'de> Deserialize<'de> for CanisterInfoRequest
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
Source§impl Hash for CanisterInfoRequest
impl Hash for CanisterInfoRequest
Source§impl Ord for CanisterInfoRequest
impl Ord for CanisterInfoRequest
Source§fn cmp(&self, other: &CanisterInfoRequest) -> Ordering
fn cmp(&self, other: &CanisterInfoRequest) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CanisterInfoRequest
impl PartialEq for CanisterInfoRequest
Source§impl PartialOrd for CanisterInfoRequest
impl PartialOrd for CanisterInfoRequest
Source§impl Serialize for CanisterInfoRequest
impl Serialize for CanisterInfoRequest
impl Eq for CanisterInfoRequest
impl StructuralPartialEq for CanisterInfoRequest
Auto Trait Implementations§
impl Freeze for CanisterInfoRequest
impl RefUnwindSafe for CanisterInfoRequest
impl Send for CanisterInfoRequest
impl Sync for CanisterInfoRequest
impl Unpin for CanisterInfoRequest
impl UnwindSafe for CanisterInfoRequest
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
)