pub struct CatalogMessageKey {
pub msgid: String,
pub msgctxt: Option<String>,
}Expand description
Stable lookup key for catalog messages.
Fields§
§msgid: StringSource message identifier.
msgctxt: Option<String>Optional gettext message context.
Implementations§
Trait Implementations§
Source§impl Clone for CatalogMessageKey
impl Clone for CatalogMessageKey
Source§fn clone(&self) -> CatalogMessageKey
fn clone(&self) -> CatalogMessageKey
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 moreSource§impl Debug for CatalogMessageKey
impl Debug for CatalogMessageKey
Source§impl Hash for CatalogMessageKey
impl Hash for CatalogMessageKey
Source§impl Ord for CatalogMessageKey
impl Ord for CatalogMessageKey
Source§fn cmp(&self, other: &CatalogMessageKey) -> Ordering
fn cmp(&self, other: &CatalogMessageKey) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CatalogMessageKey
impl PartialEq for CatalogMessageKey
Source§impl PartialOrd for CatalogMessageKey
impl PartialOrd for CatalogMessageKey
impl Eq for CatalogMessageKey
impl StructuralPartialEq for CatalogMessageKey
Auto Trait Implementations§
impl Freeze for CatalogMessageKey
impl RefUnwindSafe for CatalogMessageKey
impl Send for CatalogMessageKey
impl Sync for CatalogMessageKey
impl Unpin for CatalogMessageKey
impl UnsafeUnpin for CatalogMessageKey
impl UnwindSafe for CatalogMessageKey
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