pub struct SubnetInfoArgs {
pub subnet_id: Principal,
}
Expand description
Argument type of subnet_info.
Fields§
§subnet_id: Principal
Principal of the subnet.
Trait Implementations§
source§impl CandidType for SubnetInfoArgs
impl CandidType for SubnetInfoArgs
source§impl Clone for SubnetInfoArgs
impl Clone for SubnetInfoArgs
source§fn clone(&self) -> SubnetInfoArgs
fn clone(&self) -> SubnetInfoArgs
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 SubnetInfoArgs
impl Debug for SubnetInfoArgs
source§impl<'de> Deserialize<'de> for SubnetInfoArgs
impl<'de> Deserialize<'de> for SubnetInfoArgs
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 SubnetInfoArgs
impl Hash for SubnetInfoArgs
source§impl Ord for SubnetInfoArgs
impl Ord for SubnetInfoArgs
source§fn cmp(&self, other: &SubnetInfoArgs) -> Ordering
fn cmp(&self, other: &SubnetInfoArgs) -> 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 SubnetInfoArgs
impl PartialEq for SubnetInfoArgs
source§impl PartialOrd for SubnetInfoArgs
impl PartialOrd for SubnetInfoArgs
source§impl Serialize for SubnetInfoArgs
impl Serialize for SubnetInfoArgs
impl Eq for SubnetInfoArgs
impl StructuralPartialEq for SubnetInfoArgs
Auto Trait Implementations§
impl Freeze for SubnetInfoArgs
impl RefUnwindSafe for SubnetInfoArgs
impl Send for SubnetInfoArgs
impl Sync for SubnetInfoArgs
impl Unpin for SubnetInfoArgs
impl UnwindSafe for SubnetInfoArgs
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
)