[][src]Struct rustimate_core::poll::Poll

pub struct Poll { /* fields omitted */ }

Methods

impl Poll[src]

pub const fn new(
    id: Uuid,
    idx: u32,
    author_id: Uuid,
    title: String,
    status: PollStatus
) -> Self
[src]

pub const fn id(&self) -> &Uuid[src]

pub const fn idx(&self) -> u32[src]

pub const fn title(&self) -> &String[src]

pub fn set_title(&mut self, t: String)[src]

pub const fn status(&self) -> &PollStatus[src]

pub fn set_status(&mut self, s: PollStatus)[src]

Trait Implementations

impl Clone for Poll[src]

impl Debug for Poll[src]

impl<'de> Deserialize<'de> for Poll[src]

impl Serialize for Poll[src]

Auto Trait Implementations

impl RefUnwindSafe for Poll

impl Send for Poll

impl Sync for Poll

impl Unpin for Poll

impl UnwindSafe for Poll

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,