Struct contack::read_write::vcard::VCard [−][src]
This is supported on crate feature
read_write
only.Expand description
A VCard represents an individual vcard within a vcard
file. For the most part this will represent Contact
.
It implements display to allow you to convert it to a text form of VCard.
Tuple Fields
0: Vec<Component>
Implementations
Creates a new VCard
The vec of components does not need to include a
BEGIN
, END
or VERSION
.
Creates a vector of VCards from a string.
They are separated by END:VCARD\r\n
.
Errors
Fails for the same reason as during the FromStr
implementation.
Converts a slice to a String
.
This creates many VCards separated by END:VCARD
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VCard
impl UnwindSafe for VCard
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more