pub struct UnsetValue {
pub property: Id,
pub language: UnsetLanguage,
}Expand description
Specifies a value to unset, with optional language targeting (TEXT only).
Fields§
§property: IdThe property whose value to clear.
language: UnsetLanguageWhich language slot(s) to clear. For TEXT properties: All clears all slots, English clears English slot, Specific clears a specific language slot. For non-TEXT properties: must be All.
Implementations§
Trait Implementations§
Source§impl Clone for UnsetValue
impl Clone for UnsetValue
Source§fn clone(&self) -> UnsetValue
fn clone(&self) -> UnsetValue
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 UnsetValue
impl Debug for UnsetValue
Source§impl Default for UnsetValue
impl Default for UnsetValue
Source§fn default() -> UnsetValue
fn default() -> UnsetValue
Returns the “default value” for a type. Read more
Source§impl PartialEq for UnsetValue
impl PartialEq for UnsetValue
impl Eq for UnsetValue
impl StructuralPartialEq for UnsetValue
Auto Trait Implementations§
impl Freeze for UnsetValue
impl RefUnwindSafe for UnsetValue
impl Send for UnsetValue
impl Sync for UnsetValue
impl Unpin for UnsetValue
impl UnwindSafe for UnsetValue
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