pub enum OutputContentMode {
ContentRefsOnly,
RedactedSummary,
RawContentIfPolicyAllows,
}Expand description
Enumerates the finite output content mode cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
ContentRefsOnly
Use this variant when the contract needs to represent content refs only; selecting it has no side effect by itself.
RedactedSummary
Use this variant when the contract needs to represent redacted summary; selecting it has no side effect by itself.
RawContentIfPolicyAllows
Use this variant when the contract needs to represent raw content if policy allows; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for OutputContentMode
impl Clone for OutputContentMode
Source§fn clone(&self) -> OutputContentMode
fn clone(&self) -> OutputContentMode
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 moreSource§impl Debug for OutputContentMode
impl Debug for OutputContentMode
Source§impl<'de> Deserialize<'de> for OutputContentMode
impl<'de> Deserialize<'de> for OutputContentMode
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
Source§impl PartialEq for OutputContentMode
impl PartialEq for OutputContentMode
Source§fn eq(&self, other: &OutputContentMode) -> bool
fn eq(&self, other: &OutputContentMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OutputContentMode
impl Serialize for OutputContentMode
impl Copy for OutputContentMode
impl Eq for OutputContentMode
impl StructuralPartialEq for OutputContentMode
Auto Trait Implementations§
impl Freeze for OutputContentMode
impl RefUnwindSafe for OutputContentMode
impl Send for OutputContentMode
impl Sync for OutputContentMode
impl Unpin for OutputContentMode
impl UnsafeUnpin for OutputContentMode
impl UnwindSafe for OutputContentMode
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