[][src]Struct acick_util::model::Contest

pub struct Contest { /* fields omitted */ }

Methods

impl Contest[src]

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

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

impl Contest[src]

pub fn new(id: impl Into<ContestId>, name: impl Into<String>) -> Self[src]

Trait Implementations

impl Clone for Contest[src]

impl Debug for Contest[src]

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

impl Eq for Contest[src]

impl Hash for Contest[src]

impl PartialEq<Contest> for Contest[src]

impl Serialize for Contest[src]

impl StructuralEq for Contest[src]

impl StructuralPartialEq for Contest[src]

Auto Trait Implementations

impl RefUnwindSafe for Contest

impl Send for Contest

impl Sync for Contest

impl Unpin for Contest

impl UnwindSafe for Contest

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.