Type Alias ic_certification::Delegation

source ·
pub type Delegation = Delegation<Vec<u8>>;
Expand description

Aliased Type§

struct Delegation {
    pub subnet_id: Vec<u8, Global>,
    pub certificate: Vec<u8, Global>,
}

Fields§

§subnet_id: Vec<u8, Global>§certificate: Vec<u8, Global>

Trait Implementations§

source§

impl<Storage: Clone + AsRef<[u8]>> Clone for Delegation<Storage>

source§

fn clone(&self) -> Delegation<Storage>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Storage: Debug + AsRef<[u8]>> Debug for Delegation<Storage>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Delegation<Vec<u8>>

source§

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<Storage: PartialEq + AsRef<[u8]>> PartialEq<Delegation<Storage>> for Delegation<Storage>

source§

fn eq(&self, other: &Delegation<Storage>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<Storage> Serialize for Delegation<Storage>where Storage: Serialize + AsRef<[u8]>,

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<Storage: Eq + AsRef<[u8]>> Eq for Delegation<Storage>

source§

impl<Storage: AsRef<[u8]>> StructuralEq for Delegation<Storage>

source§

impl<Storage: AsRef<[u8]>> StructuralPartialEq for Delegation<Storage>