pub struct Event {Show 14 fields
pub id: Id,
pub title: String,
pub description: Option<String>,
pub start: Timestamp,
pub end: Option<Timestamp>,
pub location: Option<Location>,
pub contact: Option<Contact>,
pub tags: Vec<String>,
pub homepage: Option<Url>,
pub created_by: Option<EmailAddress>,
pub registration: Option<RegistrationType>,
pub archived: Option<Timestamp>,
pub image_url: Option<Url>,
pub image_link_url: Option<Url>,
}Fields§
§id: Id§title: String§description: Option<String>§start: Timestamp§end: Option<Timestamp>§location: Option<Location>§contact: Option<Contact>§homepage: Option<Url>§created_by: Option<EmailAddress>§registration: Option<RegistrationType>§archived: Option<Timestamp>§image_url: Option<Url>§image_link_url: Option<Url>Implementations§
Source§impl Event
impl Event
pub fn strip_activity_details(self) -> Self
pub fn strip_contact_details(self) -> Self
pub fn is_owned<'a>( &self, moderated_tags: impl IntoIterator<Item = &'a str>, ) -> bool
Trait Implementations§
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more