pub struct EventRequest {
pub name: Option<String>,
pub description: Option<String>,
pub location: Option<String>,
pub visibility: Option<Visibility>,
pub starts_at: Option<String>,
pub ends_at: Option<String>,
pub registration_opens_at: Option<String>,
pub registration_closes_at: Option<String>,
pub registration_required: Option<bool>,
pub max_attendees: Option<u32>,
}Expand description
Request to create or update an event
Fields§
§name: Option<String>Event name
description: Option<String>Event description
location: Option<String>Event location
visibility: Option<Visibility>Event visibility
starts_at: Option<String>Event start date/time
ends_at: Option<String>Event end date/time
registration_opens_at: Option<String>Registration opens at
registration_closes_at: Option<String>Registration closes at
registration_required: Option<bool>Whether registration is required
max_attendees: Option<u32>Maximum attendees
Trait Implementations§
Source§impl Clone for EventRequest
impl Clone for EventRequest
Source§fn clone(&self) -> EventRequest
fn clone(&self) -> EventRequest
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 EventRequest
impl Debug for EventRequest
Auto Trait Implementations§
impl Freeze for EventRequest
impl RefUnwindSafe for EventRequest
impl Send for EventRequest
impl Sync for EventRequest
impl Unpin for EventRequest
impl UnwindSafe for EventRequest
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