pub struct FluentMessageKey { /* private fields */ }Expand description
An owned, fully scoped Fluent message key used by CLI and runner metadata.
Implementations§
Source§impl FluentMessageKey
impl FluentMessageKey
pub fn new(owner: FluentDomain, domain: FluentDomain, id: FluentEntryId) -> Self
pub fn owner(&self) -> &FluentDomain
pub fn domain(&self) -> &FluentDomain
pub fn id(&self) -> &FluentEntryId
pub fn into_parts(self) -> (FluentDomain, FluentDomain, FluentEntryId)
Trait Implementations§
Source§impl Clone for FluentMessageKey
impl Clone for FluentMessageKey
Source§impl Debug for FluentMessageKey
impl Debug for FluentMessageKey
Source§impl<'de> Deserialize<'de> for FluentMessageKey
impl<'de> Deserialize<'de> for FluentMessageKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FluentMessageKey
Source§impl Hash for FluentMessageKey
impl Hash for FluentMessageKey
Source§impl Ord for FluentMessageKey
impl Ord for FluentMessageKey
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FluentMessageKey
impl PartialEq for FluentMessageKey
Source§impl PartialOrd for FluentMessageKey
impl PartialOrd for FluentMessageKey
Source§impl Serialize for FluentMessageKey
impl Serialize for FluentMessageKey
impl StructuralPartialEq for FluentMessageKey
Auto Trait Implementations§
impl Freeze for FluentMessageKey
impl RefUnwindSafe for FluentMessageKey
impl Send for FluentMessageKey
impl Sync for FluentMessageKey
impl Unpin for FluentMessageKey
impl UnsafeUnpin for FluentMessageKey
impl UnwindSafe for FluentMessageKey
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