pub enum ScreenshotOmissionReason {
Policy,
ProtectedAction,
}Variants§
Trait Implementations§
Source§impl Clone for ScreenshotOmissionReason
impl Clone for ScreenshotOmissionReason
Source§fn clone(&self) -> ScreenshotOmissionReason
fn clone(&self) -> ScreenshotOmissionReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScreenshotOmissionReason
Source§impl Debug for ScreenshotOmissionReason
impl Debug for ScreenshotOmissionReason
Source§impl<'de> Deserialize<'de> for ScreenshotOmissionReason
impl<'de> Deserialize<'de> for ScreenshotOmissionReason
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
impl Eq for ScreenshotOmissionReason
Source§impl JsonSchema for ScreenshotOmissionReason
impl JsonSchema for ScreenshotOmissionReason
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ScreenshotOmissionReason
impl PartialEq for ScreenshotOmissionReason
Source§impl Serialize for ScreenshotOmissionReason
impl Serialize for ScreenshotOmissionReason
impl StructuralPartialEq for ScreenshotOmissionReason
Auto Trait Implementations§
impl Freeze for ScreenshotOmissionReason
impl RefUnwindSafe for ScreenshotOmissionReason
impl Send for ScreenshotOmissionReason
impl Sync for ScreenshotOmissionReason
impl Unpin for ScreenshotOmissionReason
impl UnsafeUnpin for ScreenshotOmissionReason
impl UnwindSafe for ScreenshotOmissionReason
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