pub struct SnsNeuronPermissionRow {
pub principal: Option<String>,
pub permission_types: Vec<SnsNeuronPermissionValue>,
}Expand description
SnsNeuronPermissionRow
Permissions held by one principal on an SNS neuron.
Fields§
§principal: Option<String>Canonical principal text when Governance supplied the permission holder.
permission_types: Vec<SnsNeuronPermissionValue>Raw permission codes and current native labels.
Trait Implementations§
Source§impl Clone for SnsNeuronPermissionRow
impl Clone for SnsNeuronPermissionRow
Source§fn clone(&self) -> SnsNeuronPermissionRow
fn clone(&self) -> SnsNeuronPermissionRow
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 SnsNeuronPermissionRow
impl Debug for SnsNeuronPermissionRow
Source§impl<'de> Deserialize<'de> for SnsNeuronPermissionRow
impl<'de> Deserialize<'de> for SnsNeuronPermissionRow
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 SnsNeuronPermissionRow
Source§impl PartialEq for SnsNeuronPermissionRow
impl PartialEq for SnsNeuronPermissionRow
Source§impl Serialize for SnsNeuronPermissionRow
impl Serialize for SnsNeuronPermissionRow
impl StructuralPartialEq for SnsNeuronPermissionRow
Auto Trait Implementations§
impl Freeze for SnsNeuronPermissionRow
impl RefUnwindSafe for SnsNeuronPermissionRow
impl Send for SnsNeuronPermissionRow
impl Sync for SnsNeuronPermissionRow
impl Unpin for SnsNeuronPermissionRow
impl UnsafeUnpin for SnsNeuronPermissionRow
impl UnwindSafe for SnsNeuronPermissionRow
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