pub enum ModificationContext {
ApiOnly,
ApiOrHeader,
Anywhere,
}
Expand description
Allowable context(s) for modification of this attribute value.
Variants§
ApiOnly
Value can only be configured via API.
ApiOrHeader
The attribute must be set or unset by the end of the document header (i.e., set by the API or in the document header).
Anywhere
The attribute can be set anywhere in the document. However, changing an attribute only affects behavior for content that follows the assignment (in document order).
Trait Implementations§
Source§impl Clone for ModificationContext
impl Clone for ModificationContext
Source§fn clone(&self) -> ModificationContext
fn clone(&self) -> ModificationContext
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ModificationContext
impl Debug for ModificationContext
Source§impl PartialEq for ModificationContext
impl PartialEq for ModificationContext
impl Eq for ModificationContext
impl StructuralPartialEq for ModificationContext
Auto Trait Implementations§
impl Freeze for ModificationContext
impl RefUnwindSafe for ModificationContext
impl Send for ModificationContext
impl Sync for ModificationContext
impl Unpin for ModificationContext
impl UnwindSafe for ModificationContext
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