Struct ddclient_rs::Voting
source · pub struct Voting {
pub id: String,
pub choices: Vec<String>,
}
Expand description
Represents a voting.
Fields§
§id: String
§choices: Vec<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Voting
impl<'de> Deserialize<'de> for Voting
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
source§impl PartialEq for Voting
impl PartialEq for Voting
impl StructuralPartialEq for Voting
Auto Trait Implementations§
impl RefUnwindSafe for Voting
impl Send for Voting
impl Sync for Voting
impl Unpin for Voting
impl UnwindSafe for Voting
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