pub struct CandidChain {
pub type: ChainType,
pub network: Nat,
}Fields§
§type: ChainType§network: NatTrait Implementations§
Source§impl CandidType for CandidChain
impl CandidType for CandidChain
Source§impl Clone for CandidChain
impl Clone for CandidChain
Source§fn clone(&self) -> CandidChain
fn clone(&self) -> CandidChain
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 CandidChain
impl Debug for CandidChain
Source§impl<'de> Deserialize<'de> for CandidChain
impl<'de> Deserialize<'de> for CandidChain
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 From<CandidChain> for Chain
impl From<CandidChain> for Chain
Source§fn from(chain: CandidChain) -> Self
fn from(chain: CandidChain) -> Self
Converts to this type from the input type.
Source§impl From<Chain> for CandidChain
impl From<Chain> for CandidChain
Source§impl Hash for CandidChain
impl Hash for CandidChain
Source§impl Ord for CandidChain
impl Ord for CandidChain
Source§fn cmp(&self, other: &CandidChain) -> Ordering
fn cmp(&self, other: &CandidChain) -> 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 CandidChain
impl PartialEq for CandidChain
Source§impl PartialOrd for CandidChain
impl PartialOrd for CandidChain
Source§impl Serialize for CandidChain
impl Serialize for CandidChain
impl Eq for CandidChain
impl StructuralPartialEq for CandidChain
Auto Trait Implementations§
impl Freeze for CandidChain
impl RefUnwindSafe for CandidChain
impl Send for CandidChain
impl Sync for CandidChain
impl Unpin for CandidChain
impl UnwindSafe for CandidChain
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