pub struct Registration { /* private fields */ }Implementations§
Source§impl Registration
impl Registration
pub fn name(&self) -> &String
pub fn event_id(&self) -> &String
pub fn minor_allowed(&self) -> &bool
pub fn max_members_allowed(&self) -> &Option<i32>
pub fn registration_start_date(&self) -> &Option<String>
pub fn registration_end_date(&self) -> &Option<String>
pub fn registration_options(&self) -> &Option<Vec<RegistrationOption>>
Source§impl Registration
impl Registration
pub fn set_name(&mut self, val: String) -> &mut Self
pub fn set_event_id(&mut self, val: String) -> &mut Self
pub fn set_minor_allowed(&mut self, val: bool) -> &mut Self
pub fn set_max_members_allowed(&mut self, val: Option<i32>) -> &mut Self
pub fn set_registration_start_date(&mut self, val: Option<String>) -> &mut Self
pub fn set_registration_end_date(&mut self, val: Option<String>) -> &mut Self
pub fn set_registration_options( &mut self, val: Option<Vec<RegistrationOption>>, ) -> &mut Self
Trait Implementations§
Source§impl Clone for Registration
impl Clone for Registration
Source§fn clone(&self) -> Registration
fn clone(&self) -> Registration
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 Registration
impl Debug for Registration
Source§impl<'de> Deserialize<'de> for Registration
impl<'de> Deserialize<'de> for Registration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Registration
impl RefUnwindSafe for Registration
impl Send for Registration
impl Sync for Registration
impl Unpin for Registration
impl UnwindSafe for Registration
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