pub enum GuardrailPhase {
Input,
Output,
Both,
Other(String),
}Expand description
GuardrailPhase enumeration.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GuardrailPhase
impl Clone for GuardrailPhase
Source§fn clone(&self) -> GuardrailPhase
fn clone(&self) -> GuardrailPhase
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 GuardrailPhase
impl Debug for GuardrailPhase
Source§impl Default for GuardrailPhase
impl Default for GuardrailPhase
Source§fn default() -> GuardrailPhase
fn default() -> GuardrailPhase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GuardrailPhase
impl<'de> Deserialize<'de> for GuardrailPhase
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 Display for GuardrailPhase
impl Display for GuardrailPhase
impl Eq for GuardrailPhase
Source§impl From<&str> for GuardrailPhase
impl From<&str> for GuardrailPhase
Source§impl Hash for GuardrailPhase
impl Hash for GuardrailPhase
Source§impl PartialEq for GuardrailPhase
impl PartialEq for GuardrailPhase
Source§impl Serialize for GuardrailPhase
impl Serialize for GuardrailPhase
impl StructuralPartialEq for GuardrailPhase
Auto Trait Implementations§
impl Freeze for GuardrailPhase
impl RefUnwindSafe for GuardrailPhase
impl Send for GuardrailPhase
impl Sync for GuardrailPhase
impl Unpin for GuardrailPhase
impl UnsafeUnpin for GuardrailPhase
impl UnwindSafe for GuardrailPhase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.