pub struct LanguageContentBuilder { /* private fields */ }Implementations§
Source§impl LanguageContentBuilder
impl LanguageContentBuilder
pub fn object_ref(self, r: impl Into<String>) -> Self
pub fn object_modified(self, t: DateTime<Utc>) -> Self
pub fn contents(self, c: HashMap<String, HashMap<String, String>>) -> Self
pub fn created_by_ref(self, r: impl Into<String>) -> Self
pub fn build(self) -> Result<LanguageContent, &'static str>
Trait Implementations§
Source§impl Debug for LanguageContentBuilder
impl Debug for LanguageContentBuilder
Source§impl Default for LanguageContentBuilder
impl Default for LanguageContentBuilder
Source§fn default() -> LanguageContentBuilder
fn default() -> LanguageContentBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LanguageContentBuilder
impl RefUnwindSafe for LanguageContentBuilder
impl Send for LanguageContentBuilder
impl Sync for LanguageContentBuilder
impl Unpin for LanguageContentBuilder
impl UnwindSafe for LanguageContentBuilder
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