Struct vobject::property::Property
[−]
[src]
pub struct Property { pub name: String, pub params: BTreeMap<String, String>, pub raw_value: String, pub prop_group: Option<String>, }
Fields
name: String
Key in component.
params: BTreeMap<String, String>
Parameters.
raw_value: String
Value as unparsed string.
prop_group: Option<String>
Property group. E.g. a contentline like foo.FN:Markus
would result in the group being
"foo"
.
Methods
impl Property
[src]
pub fn new<N, V>(name: N, value: V) -> Property where
N: Into<String>,
V: AsRef<str>,
[src]
N: Into<String>,
V: AsRef<str>,
Create property from unescaped string.
pub fn value_as_string(&self) -> String
[src]
Get value as unescaped string.
Trait Implementations
impl Clone for Property
[src]
fn clone(&self) -> Property
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Property
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<Property> for Adr
[src]
impl From<Property> for Anniversary
[src]
fn from(p: Property) -> Anniversary
[src]
Performs the conversion.
impl From<Property> for BDay
[src]
impl From<Property> for Category
[src]
impl From<Property> for ClientPidMap
[src]
fn from(p: Property) -> ClientPidMap
[src]
Performs the conversion.
impl From<Property> for Email
[src]
impl From<Property> for FullName
[src]
impl From<Property> for Gender
[src]
impl From<Property> for Geo
[src]
impl From<Property> for IMPP
[src]
impl From<Property> for Key
[src]
impl From<Property> for Lang
[src]
impl From<Property> for Logo
[src]
impl From<Property> for Member
[src]
impl From<Property> for Name
[src]
impl From<Property> for NickName
[src]
impl From<Property> for Note
[src]
impl From<Property> for Organization
[src]
fn from(p: Property) -> Organization
[src]
Performs the conversion.
impl From<Property> for PhoneNumber
[src]
fn from(p: Property) -> PhoneNumber
[src]
Performs the conversion.
impl From<Property> for Photo
[src]
impl From<Property> for Proid
[src]
impl From<Property> for Related
[src]
impl From<Property> for Rev
[src]
impl From<Property> for Sound
[src]
impl From<Property> for Tel
[src]
impl From<Property> for Title
[src]
impl From<Property> for Tz
[src]
impl From<Property> for Uid
[src]
impl From<Property> for Url
[src]
impl From<Property> for Version
[src]
impl From<Property> for Version
[src]
impl From<Property> for Prodid
[src]
impl From<Property> for Dtend
[src]
impl From<Property> for Dtstart
[src]
impl From<Property> for Dtstamp
[src]
impl From<Property> for Uid
[src]
impl From<Property> for Description
[src]
fn from(p: Property) -> Description
[src]
Performs the conversion.
impl From<Property> for Summary
[src]
impl From<Property> for Url
[src]
impl From<Property> for Location
[src]
impl From<Property> for Class
[src]
impl From<Property> for Categories
[src]
fn from(p: Property) -> Categories
[src]
Performs the conversion.