pub enum PollAnswer {
PollAnswer(PollAnswer),
}Expand description
Variants§
PollAnswer(PollAnswer)
Trait Implementations§
Source§impl Clone for PollAnswer
impl Clone for PollAnswer
Source§fn clone(&self) -> PollAnswer
fn clone(&self) -> PollAnswer
Returns a duplicate of the value. Read more
1.0.0 · 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 PollAnswer
impl Debug for PollAnswer
Source§impl Deserializable for PollAnswer
impl Deserializable for PollAnswer
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<PollAnswer> for PollAnswer
impl From<PollAnswer> for PollAnswer
Source§fn from(x: PollAnswer) -> Self
fn from(x: PollAnswer) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PollAnswer
impl PartialEq for PollAnswer
Source§impl Serializable for PollAnswer
impl Serializable for PollAnswer
Source§impl TryFrom<PollAnswer> for PollAnswer
impl TryFrom<PollAnswer> for PollAnswer
Source§type Error = PollAnswer
type Error = PollAnswer
The type returned in the event of a conversion error.
impl StructuralPartialEq for PollAnswer
Auto Trait Implementations§
impl Freeze for PollAnswer
impl RefUnwindSafe for PollAnswer
impl Send for PollAnswer
impl Sync for PollAnswer
impl Unpin for PollAnswer
impl UnsafeUnpin for PollAnswer
impl UnwindSafe for PollAnswer
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