Struct vcard::values::attribute_value::AttributeValue
source · pub struct AttributeValue { /* private fields */ }
Implementations
sourceimpl AttributeValue
impl AttributeValue
pub fn from_str(
attribute: &str,
value: &str
) -> Result<AttributeValue, AttributeValueError>
pub fn from_string(
attribute: String,
value: String
) -> Result<AttributeValue, AttributeValueError>
pub fn is_empty(&self) -> bool
sourceimpl AttributeValue
impl AttributeValue
Trait Implementations
sourceimpl Clone for AttributeValue
impl Clone for AttributeValue
sourcefn clone(&self) -> AttributeValue
fn clone(&self) -> AttributeValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AttributeValue
impl Debug for AttributeValue
sourceimpl Display for AttributeValue
impl Display for AttributeValue
sourceimpl Hash for AttributeValue
impl Hash for AttributeValue
sourceimpl PartialEq<AttributeValue> for AttributeValue
impl PartialEq<AttributeValue> for AttributeValue
sourcefn eq(&self, other: &AttributeValue) -> bool
fn eq(&self, other: &AttributeValue) -> bool
sourceimpl ValidatedWrapper for AttributeValue
impl ValidatedWrapper for AttributeValue
impl Eq for AttributeValue
impl StructuralEq for AttributeValue
impl StructuralPartialEq for AttributeValue
impl Validated for AttributeValue
Auto Trait Implementations
impl RefUnwindSafe for AttributeValue
impl Send for AttributeValue
impl Sync for AttributeValue
impl Unpin for AttributeValue
impl UnwindSafe for AttributeValue
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