pub struct StrumVariantProperties {
pub transparent: Option<transparent>,
pub disabled: Option<disabled>,
pub default: Option<default>,
pub default_with: Option<LitStr>,
pub ascii_case_insensitive: Option<bool>,
pub message: Option<LitStr>,
pub detailed_message: Option<LitStr>,
pub documentation: Vec<LitStr>,
pub props: Vec<(LitStr, Lit)>,
serialize: Vec<LitStr>,
pub to_string: Option<LitStr>,
ident: Option<Ident>,
}Fields§
§transparent: Option<transparent>§disabled: Option<disabled>§default: Option<default>§default_with: Option<LitStr>§ascii_case_insensitive: Option<bool>§message: Option<LitStr>§detailed_message: Option<LitStr>§documentation: Vec<LitStr>§props: Vec<(LitStr, Lit)>§serialize: Vec<LitStr>§to_string: Option<LitStr>§ident: Option<Ident>Implementations§
Trait Implementations§
Source§impl Clone for StrumVariantProperties
impl Clone for StrumVariantProperties
Source§fn clone(&self) -> StrumVariantProperties
fn clone(&self) -> StrumVariantProperties
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 Default for StrumVariantProperties
impl Default for StrumVariantProperties
Source§fn default() -> StrumVariantProperties
fn default() -> StrumVariantProperties
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StrumVariantProperties
impl RefUnwindSafe for StrumVariantProperties
impl !Send for StrumVariantProperties
impl !Sync for StrumVariantProperties
impl Unpin for StrumVariantProperties
impl UnwindSafe for StrumVariantProperties
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