pub struct NodeProvider(/* private fields */);
Implementations§
Trait Implementations§
Source§impl CandidType for NodeProvider
impl CandidType for NodeProvider
Source§impl Clone for NodeProvider
impl Clone for NodeProvider
Source§fn clone(&self) -> NodeProvider
fn clone(&self) -> NodeProvider
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 NodeProvider
impl Debug for NodeProvider
Source§impl<'de> Deserialize<'de> for NodeProvider
impl<'de> Deserialize<'de> for NodeProvider
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 Display for NodeProvider
impl Display for NodeProvider
Source§impl From<NodeProvider> for Principal
impl From<NodeProvider> for Principal
Source§fn from(t: NodeProvider) -> Self
fn from(t: NodeProvider) -> Self
Converts to this type from the input type.
Source§impl From<Principal> for NodeProvider
impl From<Principal> for NodeProvider
Source§impl Hash for NodeProvider
impl Hash for NodeProvider
Source§impl Ord for NodeProvider
impl Ord for NodeProvider
Source§fn cmp(&self, other: &NodeProvider) -> Ordering
fn cmp(&self, other: &NodeProvider) -> 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<Principal> for NodeProvider
impl PartialEq<Principal> for NodeProvider
Source§impl PartialEq for NodeProvider
impl PartialEq for NodeProvider
Source§impl PartialOrd for NodeProvider
impl PartialOrd for NodeProvider
Source§impl Serialize for NodeProvider
impl Serialize for NodeProvider
Source§impl Storable for NodeProvider
impl Storable for NodeProvider
Source§fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
Converts bytes into an element.
Source§fn to_bytes_checked(&self) -> Cow<'_, [u8]>
fn to_bytes_checked(&self) -> Cow<'_, [u8]>
Like
to_bytes
, but includes additional checks to ensure the element’s serialized bytes
are within the element’s bounds.impl Copy for NodeProvider
impl Eq for NodeProvider
impl StructuralPartialEq for NodeProvider
Auto Trait Implementations§
impl Freeze for NodeProvider
impl RefUnwindSafe for NodeProvider
impl Send for NodeProvider
impl Sync for NodeProvider
impl Unpin for NodeProvider
impl UnwindSafe for NodeProvider
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