Struct vobject::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]
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.
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