pub enum UnsetLanguage {
All,
English,
Specific(Id),
}Expand description
Specifies which language slot to clear for an UnsetValue.
Variants§
All
Clear all language slots (wire format: 0xFFFFFFFF).
English
Clear only the English slot (wire format: 0).
Specific(Id)
Clear a specific language slot (wire format: 1+).
Trait Implementations§
Source§impl Clone for UnsetLanguage
impl Clone for UnsetLanguage
Source§fn clone(&self) -> UnsetLanguage
fn clone(&self) -> UnsetLanguage
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 UnsetLanguage
impl Debug for UnsetLanguage
Source§impl Default for UnsetLanguage
impl Default for UnsetLanguage
Source§impl PartialEq for UnsetLanguage
impl PartialEq for UnsetLanguage
impl Copy for UnsetLanguage
impl Eq for UnsetLanguage
impl StructuralPartialEq for UnsetLanguage
Auto Trait Implementations§
impl Freeze for UnsetLanguage
impl RefUnwindSafe for UnsetLanguage
impl Send for UnsetLanguage
impl Sync for UnsetLanguage
impl Unpin for UnsetLanguage
impl UnwindSafe for UnsetLanguage
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