pub struct GovernAction {
pub action: String,
pub target: String,
pub capability: String,
pub impact: String,
pub destructive: bool,
pub metadata: HashMap<String, String>,
}Fields§
§action: String§target: String§capability: String§impact: String§destructive: bool§metadata: HashMap<String, String>Trait Implementations§
Source§impl Clone for GovernAction
impl Clone for GovernAction
Source§fn clone(&self) -> GovernAction
fn clone(&self) -> GovernAction
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 GovernAction
impl Debug for GovernAction
Source§impl<'de> Deserialize<'de> for GovernAction
impl<'de> Deserialize<'de> for GovernAction
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
Auto Trait Implementations§
impl Freeze for GovernAction
impl RefUnwindSafe for GovernAction
impl Send for GovernAction
impl Sync for GovernAction
impl Unpin for GovernAction
impl UnsafeUnpin for GovernAction
impl UnwindSafe for GovernAction
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