pub struct TicketSection {
pub name: String,
pub type_: SectionType,
pub required: bool,
pub placeholder: Option<String>,
}Fields§
§name: String§type_: SectionType§required: bool§placeholder: Option<String>Trait Implementations§
Source§impl Clone for TicketSection
impl Clone for TicketSection
Source§fn clone(&self) -> TicketSection
fn clone(&self) -> TicketSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TicketSection
impl Debug for TicketSection
Source§impl<'de> Deserialize<'de> for TicketSection
impl<'de> Deserialize<'de> for TicketSection
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 TicketSection
impl RefUnwindSafe for TicketSection
impl Send for TicketSection
impl Sync for TicketSection
impl Unpin for TicketSection
impl UnsafeUnpin for TicketSection
impl UnwindSafe for TicketSection
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