pub enum BodyRetentionMode {
Unresolved,
DeleteSelected,
KeepSelected,
}Expand description
Selection interpretation for a delete/keep-body operation.
Variants§
Unresolved
The operation family is known but the selected retention mode is unavailable.
DeleteSelected
Delete the selected bodies.
KeepSelected
Delete every body except the selected bodies.
Trait Implementations§
Source§impl Clone for BodyRetentionMode
impl Clone for BodyRetentionMode
Source§fn clone(&self) -> BodyRetentionMode
fn clone(&self) -> BodyRetentionMode
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 BodyRetentionMode
Source§impl Debug for BodyRetentionMode
impl Debug for BodyRetentionMode
Source§impl<'de> Deserialize<'de> for BodyRetentionMode
impl<'de> Deserialize<'de> for BodyRetentionMode
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 BodyRetentionMode
Source§impl JsonSchema for BodyRetentionMode
impl JsonSchema for BodyRetentionMode
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 BodyRetentionMode
impl PartialEq for BodyRetentionMode
Source§impl Serialize for BodyRetentionMode
impl Serialize for BodyRetentionMode
impl StructuralPartialEq for BodyRetentionMode
Auto Trait Implementations§
impl Freeze for BodyRetentionMode
impl RefUnwindSafe for BodyRetentionMode
impl Send for BodyRetentionMode
impl Sync for BodyRetentionMode
impl Unpin for BodyRetentionMode
impl UnsafeUnpin for BodyRetentionMode
impl UnwindSafe for BodyRetentionMode
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