pub struct FtlCall {
pub key: String,
pub name: String,
pub named: Vec<(String, String)>,
}Expand description
One FUNC(...) call in a message value — day lint validates function names and option
values across every locale file with this (the shared fluent-syntax parse, like
message_keys).
Fields§
§key: StringThe message key the call appears under.
name: StringThe function name as written (NUMBER, DATETIME, …).
named: Vec<(String, String)>Named options with their literal values (style: "percent" → ("style", "percent");
non-literal option values are omitted).
Trait Implementations§
impl StructuralPartialEq for FtlCall
Auto Trait Implementations§
impl Freeze for FtlCall
impl RefUnwindSafe for FtlCall
impl Send for FtlCall
impl Sync for FtlCall
impl Unpin for FtlCall
impl UnsafeUnpin for FtlCall
impl UnwindSafe for FtlCall
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