pub struct GovsData {
pub governance_id: String,
pub active: bool,
pub name: Option<String>,
pub description: Option<String>,
}Fields§
§governance_id: String§active: bool§name: Option<String>§description: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GovsData
impl<'de> Deserialize<'de> for GovsData
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 GovsData
impl RefUnwindSafe for GovsData
impl Send for GovsData
impl Sync for GovsData
impl Unpin for GovsData
impl UnwindSafe for GovsData
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