pub struct VcardContact {
pub properties: Vec<Property>,
}Expand description
A VCARD contact.
Fields§
§properties: Vec<Property>Implementations§
Source§impl VcardContact
impl VcardContact
pub fn new() -> VcardContact
Trait Implementations§
Source§impl Clone for VcardContact
impl Clone for VcardContact
Source§fn clone(&self) -> VcardContact
fn clone(&self) -> VcardContact
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 Component for VcardContact
impl Component for VcardContact
Source§fn add_property(&mut self, property: Property)
fn add_property(&mut self, property: Property)
Add the givent property.
Source§fn add_sub_component<B: BufRead>(
&mut self,
_: &str,
_: &RefCell<PropertyParser<B>>,
) -> Result<(), ParserError>
fn add_sub_component<B: BufRead>( &mut self, _: &str, _: &RefCell<PropertyParser<B>>, ) -> Result<(), ParserError>
Add the givent sub component.
Source§fn parse<B: BufRead>(
&mut self,
line_parser: &RefCell<PropertyParser<B>>,
) -> Result<(), ParserError>
fn parse<B: BufRead>( &mut self, line_parser: &RefCell<PropertyParser<B>>, ) -> Result<(), ParserError>
Parse the content from
line_parser and fill the component with.Source§impl Debug for VcardContact
impl Debug for VcardContact
Source§impl Default for VcardContact
impl Default for VcardContact
Source§fn default() -> VcardContact
fn default() -> VcardContact
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VcardContact
impl RefUnwindSafe for VcardContact
impl Send for VcardContact
impl Sync for VcardContact
impl Unpin for VcardContact
impl UnwindSafe for VcardContact
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