pub struct VcardBuilder { /* private fields */ }Expand description
A builder for building a Vcard object.
Implementations§
Source§impl VcardBuilder
impl VcardBuilder
pub fn new() -> Self
pub fn build(self) -> Result<Vcard, VObjectError>
pub fn with_adr( self, params: Parameters, pobox: Option<String>, ext: Option<String>, street: Option<String>, locality: Option<String>, region: Option<String>, code: Option<String>, country: Option<String>, ) -> Self
pub fn with_anniversary(self, value: String) -> Self
pub fn with_bday(self, params: Parameters, value: String) -> Self
pub fn with_categories(self, org: Vec<String>) -> Self
pub fn with_clientpidmap(self, raw: String) -> Self
pub fn with_email(self, email: String) -> Self
pub fn with_fullname(self, fullname: String) -> Self
pub fn with_gender(self, params: Parameters, value: String) -> Self
pub fn with_geo(self, uri: String) -> Self
pub fn with_impp(self, uri: String) -> Self
pub fn with_key(self, uri: String) -> Self
pub fn with_lang(self, lang: String) -> Self
pub fn with_logo(self, uri: String) -> Self
pub fn with_member(self, uri: String) -> Self
pub fn with_name( self, params: Parameters, surname: Option<String>, given_name: Option<String>, additional_name: Option<String>, honorific_prefixes: Option<String>, honorific_suffixes: Option<String>, ) -> Self
pub fn with_nickname(self, params: Parameters, name: String) -> Self
pub fn with_note(self, text: String) -> Self
pub fn with_org(self, org: Vec<String>) -> Self
pub fn with_photo(self, params: Parameters, param: String) -> Self
pub fn with_proid(self, param: String) -> Self
pub fn with_rev(self, timestamp: String) -> Self
pub fn with_role(self, role: String) -> Self
pub fn with_sound(self, uri: String) -> Self
pub fn with_tel(self, params: Parameters, value: String) -> Self
pub fn with_title(self, title: String) -> Self
pub fn with_tz(self, tz: String) -> Self
pub fn with_uid(self, uri: String) -> Self
pub fn with_url(self, uri: String) -> Self
pub fn with_version(self, version: String) -> Self
Auto Trait Implementations§
impl Freeze for VcardBuilder
impl RefUnwindSafe for VcardBuilder
impl Send for VcardBuilder
impl Sync for VcardBuilder
impl Unpin for VcardBuilder
impl UnwindSafe for VcardBuilder
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