Struct event_web::Event [−][src]
pub struct Event { /* fields omitted */ }Methods
impl Event[src]
impl Eventpub fn from_parts(
title: String,
description: String,
start_date: DateTime<Tz>,
end_date: DateTime<Tz>
) -> Self[src]
pub fn from_parts(
title: String,
description: String,
start_date: DateTime<Tz>,
end_date: DateTime<Tz>
) -> Selfpub fn from_option(option_event: OptionEvent) -> Result<Self, FrontendError>[src]
pub fn from_option(option_event: OptionEvent) -> Result<Self, FrontendError>pub fn title(&self) -> &str[src]
pub fn title(&self) -> &strpub fn description(&self) -> &str[src]
pub fn description(&self) -> &strpub fn start_date(&self) -> DateTime<Tz>[src]
pub fn start_date(&self) -> DateTime<Tz>pub fn end_date(&self) -> DateTime<Tz>[src]
pub fn end_date(&self) -> DateTime<Tz>Trait Implementations
impl Clone for Event[src]
impl Clone for Eventfn clone(&self) -> Event[src]
fn clone(&self) -> EventReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Event[src]
impl Debug for Eventfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<Event> for CreateEvent[src]
impl From<Event> for CreateEvent