Type Alias ic_certification::Delegation
source · pub type Delegation = Delegation<Vec<u8>>;Expand description
A Delegation as defined in https://internetcomputer.org/docs/current/references/ic-interface-spec/#certification-delegation
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>
impl<Storage: Clone + AsRef<[u8]>> Clone for Delegation<Storage>
source§fn clone(&self) -> Delegation<Storage>
fn clone(&self) -> Delegation<Storage>
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<'de> Deserialize<'de> for Delegation<Vec<u8>>
impl<'de> Deserialize<'de> for Delegation<Vec<u8>>
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<Storage: PartialEq + AsRef<[u8]>> PartialEq<Delegation<Storage>> for Delegation<Storage>
impl<Storage: PartialEq + AsRef<[u8]>> PartialEq<Delegation<Storage>> for Delegation<Storage>
source§fn eq(&self, other: &Delegation<Storage>) -> bool
fn eq(&self, other: &Delegation<Storage>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.