pub struct AnswerOption {
pub answer: String,
pub shorthand: String,
pub tags: Vec<Uuid>,
}Fields§
§answer: StringThe text shown to the patient as possible answer option
shorthand: StringShort form of the answer shown in the calendar
Tags to automatically add to the reservation, if this answer is selected by the patient
Implementations§
Source§impl AnswerOption
impl AnswerOption
Trait Implementations§
Source§impl Clone for AnswerOption
impl Clone for AnswerOption
Source§fn clone(&self) -> AnswerOption
fn clone(&self) -> AnswerOption
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 AnswerOption
impl Debug for AnswerOption
Source§impl Default for AnswerOption
impl Default for AnswerOption
Source§fn default() -> AnswerOption
fn default() -> AnswerOption
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnswerOption
impl<'de> Deserialize<'de> for AnswerOption
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
Source§impl PartialEq for AnswerOption
impl PartialEq for AnswerOption
Source§impl Serialize for AnswerOption
impl Serialize for AnswerOption
impl StructuralPartialEq for AnswerOption
Auto Trait Implementations§
impl Freeze for AnswerOption
impl RefUnwindSafe for AnswerOption
impl Send for AnswerOption
impl Sync for AnswerOption
impl Unpin for AnswerOption
impl UnwindSafe for AnswerOption
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