pub enum TurnItemsView {
NotLoaded,
Summary,
Full,
}Expand description
TurnItemsView
JSON schema
{
"oneOf": [
{
"description": "`items` was not loaded for this turn. The field is intentionally empty.",
"type": "string",
"enum": [
"notLoaded"
]
},
{
"description": "`items` contains only a display summary for this turn.",
"type": "string",
"enum": [
"summary"
]
},
{
"description": "`items` contains every ThreadItem available from persisted app-server history for this turn.",
"type": "string",
"enum": [
"full"
]
}
]
}Variants§
NotLoaded
items was not loaded for this turn. The field is intentionally empty.
Summary
items contains only a display summary for this turn.
Full
items contains every ThreadItem available from persisted app-server history for this turn.
Trait Implementations§
Source§impl Clone for TurnItemsView
impl Clone for TurnItemsView
Source§fn clone(&self) -> TurnItemsView
fn clone(&self) -> TurnItemsView
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 TurnItemsView
impl Debug for TurnItemsView
Source§impl<'de> Deserialize<'de> for TurnItemsView
impl<'de> Deserialize<'de> for TurnItemsView
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 TurnItemsView
impl Display for TurnItemsView
Source§impl FromStr for TurnItemsView
impl FromStr for TurnItemsView
Source§impl Hash for TurnItemsView
impl Hash for TurnItemsView
Source§impl Ord for TurnItemsView
impl Ord for TurnItemsView
Source§fn cmp(&self, other: &TurnItemsView) -> Ordering
fn cmp(&self, other: &TurnItemsView) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TurnItemsView
impl PartialEq for TurnItemsView
Source§fn eq(&self, other: &TurnItemsView) -> bool
fn eq(&self, other: &TurnItemsView) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TurnItemsView
impl PartialOrd for TurnItemsView
Source§impl Serialize for TurnItemsView
impl Serialize for TurnItemsView
Source§impl TryFrom<&String> for TurnItemsView
impl TryFrom<&String> for TurnItemsView
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for TurnItemsView
impl TryFrom<&str> for TurnItemsView
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for TurnItemsView
impl TryFrom<String> for TurnItemsView
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for TurnItemsView
impl Eq for TurnItemsView
impl StructuralPartialEq for TurnItemsView
Auto Trait Implementations§
impl Freeze for TurnItemsView
impl RefUnwindSafe for TurnItemsView
impl Send for TurnItemsView
impl Sync for TurnItemsView
impl Unpin for TurnItemsView
impl UnsafeUnpin for TurnItemsView
impl UnwindSafe for TurnItemsView
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.