pub struct L10nMessage<'l> {
pub value: Option<Cow<'l, str>>,
pub attributes: Vec<L10nAttribute<'l>>,
}
Fields§
§value: Option<Cow<'l, str>>
§attributes: Vec<L10nAttribute<'l>>
Trait Implementations§
Source§impl<'l> Clone for L10nMessage<'l>
impl<'l> Clone for L10nMessage<'l>
Source§fn clone(&self) -> L10nMessage<'l>
fn clone(&self) -> L10nMessage<'l>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'l> Freeze for L10nMessage<'l>
impl<'l> RefUnwindSafe for L10nMessage<'l>
impl<'l> Send for L10nMessage<'l>
impl<'l> Sync for L10nMessage<'l>
impl<'l> Unpin for L10nMessage<'l>
impl<'l> UnwindSafe for L10nMessage<'l>
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