pub struct CardVote {
pub question: String,
pub positive: Vec<String>,
pub negative: Vec<String>,
pub end: Option<String>,
pub public: bool,
pub allow_non_board_members: bool,
}Fields§
§question: String§positive: Vec<String>§negative: Vec<String>§end: Option<String>§public: bool§allow_non_board_members: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for CardVote
impl<'de> Deserialize<'de> for CardVote
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 CardVote
impl StructuralPartialEq for CardVote
Auto Trait Implementations§
impl Freeze for CardVote
impl RefUnwindSafe for CardVote
impl Send for CardVote
impl Sync for CardVote
impl Unpin for CardVote
impl UnsafeUnpin for CardVote
impl UnwindSafe for CardVote
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