pub struct MarkingConfig {
pub enabled: bool,
pub format: MarkingFormat,
}Expand description
Configuration for synthetic content marking.
Fields§
§enabled: boolWhether content marking is enabled (default: true).
format: MarkingFormatMarking format.
Trait Implementations§
Source§impl Clone for MarkingConfig
impl Clone for MarkingConfig
Source§fn clone(&self) -> MarkingConfig
fn clone(&self) -> MarkingConfig
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 MarkingConfig
impl Debug for MarkingConfig
Source§impl Default for MarkingConfig
impl Default for MarkingConfig
Source§impl<'de> Deserialize<'de> for MarkingConfig
impl<'de> Deserialize<'de> for MarkingConfig
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
Auto Trait Implementations§
impl Freeze for MarkingConfig
impl RefUnwindSafe for MarkingConfig
impl Send for MarkingConfig
impl Sync for MarkingConfig
impl Unpin for MarkingConfig
impl UnwindSafe for MarkingConfig
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