Struct ic_cdk::api::management_canister::main::CanisterInfoRequest
source · 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
)