pub struct GovernResult {
pub approved: bool,
pub decision: String,
pub reason: Option<String>,
pub decision_id: u64,
pub chain_tip: String,
}Fields§
§approved: bool§decision: String§reason: Option<String>§decision_id: u64§chain_tip: StringTrait Implementations§
Source§impl Clone for GovernResult
impl Clone for GovernResult
Source§fn clone(&self) -> GovernResult
fn clone(&self) -> GovernResult
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 GovernResult
impl Debug for GovernResult
Source§impl<'de> Deserialize<'de> for GovernResult
impl<'de> Deserialize<'de> for GovernResult
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 GovernResult
impl RefUnwindSafe for GovernResult
impl Send for GovernResult
impl Sync for GovernResult
impl Unpin for GovernResult
impl UnsafeUnpin for GovernResult
impl UnwindSafe for GovernResult
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