pub enum StreamRuleScope {
Run,
Turn,
Attempt,
RealtimeSession,
}Expand description
Enumerates the finite stream rule scope cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Run
Use this variant when the contract needs to represent run; selecting it has no side effect by itself.
Turn
Use this variant when the contract needs to represent turn; selecting it has no side effect by itself.
Attempt
Use this variant when the contract needs to represent attempt; selecting it has no side effect by itself.
RealtimeSession
Use this variant when the contract needs to represent realtime session; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for StreamRuleScope
impl Clone for StreamRuleScope
Source§fn clone(&self) -> StreamRuleScope
fn clone(&self) -> StreamRuleScope
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 StreamRuleScope
impl Debug for StreamRuleScope
Source§impl<'de> Deserialize<'de> for StreamRuleScope
impl<'de> Deserialize<'de> for StreamRuleScope
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 StreamRuleScope
impl PartialEq for StreamRuleScope
Source§fn eq(&self, other: &StreamRuleScope) -> bool
fn eq(&self, other: &StreamRuleScope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StreamRuleScope
impl Serialize for StreamRuleScope
impl Eq for StreamRuleScope
impl StructuralPartialEq for StreamRuleScope
Auto Trait Implementations§
impl Freeze for StreamRuleScope
impl RefUnwindSafe for StreamRuleScope
impl Send for StreamRuleScope
impl Sync for StreamRuleScope
impl Unpin for StreamRuleScope
impl UnsafeUnpin for StreamRuleScope
impl UnwindSafe for StreamRuleScope
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