pub enum NnsGovernanceSourceSelection {
ReplicaQuery {
endpoint: String,
fetched_by: String,
},
ReplicatedInterCanisterCall,
}Expand description
NnsGovernanceSourceSelection
Transport selected for one direct NNS Governance collection.
Variants§
ReplicaQuery
Submit an ordinary unreplicated query through one replica endpoint.
Fields
ReplicatedInterCanisterCall
Execute a replicated inter-canister call from the current canister.
Trait Implementations§
Source§impl Clone for NnsGovernanceSourceSelection
impl Clone for NnsGovernanceSourceSelection
Source§fn clone(&self) -> NnsGovernanceSourceSelection
fn clone(&self) -> NnsGovernanceSourceSelection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NnsGovernanceSourceSelection
impl Debug for NnsGovernanceSourceSelection
Source§impl<'de> Deserialize<'de> for NnsGovernanceSourceSelection
impl<'de> Deserialize<'de> for NnsGovernanceSourceSelection
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
impl Eq for NnsGovernanceSourceSelection
impl StructuralPartialEq for NnsGovernanceSourceSelection
Auto Trait Implementations§
impl Freeze for NnsGovernanceSourceSelection
impl RefUnwindSafe for NnsGovernanceSourceSelection
impl Send for NnsGovernanceSourceSelection
impl Sync for NnsGovernanceSourceSelection
impl Unpin for NnsGovernanceSourceSelection
impl UnsafeUnpin for NnsGovernanceSourceSelection
impl UnwindSafe for NnsGovernanceSourceSelection
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