Struct vcard::properties::Gender
source · pub struct Gender {
pub any: Option<Set<Any>>,
pub value: GenderValue,
}
Fields
any: Option<Set<Any>>
value: GenderValue
Implementations
sourceimpl Gender
impl Gender
pub fn from_gender_value(gender_value: GenderValue) -> Gender
pub fn is_empty(&self) -> bool
Trait Implementations
sourceimpl ValidatedWrapper for Gender
impl ValidatedWrapper for Gender
impl Eq for Gender
impl StructuralEq for Gender
impl StructuralPartialEq for Gender
impl Validated for Gender
Auto Trait Implementations
impl RefUnwindSafe for Gender
impl Send for Gender
impl Sync for Gender
impl Unpin for Gender
impl UnwindSafe for Gender
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more