pub struct ContextSelectionV1 {
pub source_ref: String,
pub provider: String,
pub disposition: ContextDispositionV1,
pub token_count: u64,
pub sha256_digest: Option<String>,
pub reason_codes: Vec<ContextReasonCodeV1>,
pub reason_detail: Option<String>,
}Expand description
One selected, excluded, or deferred context object.
Fields§
§source_ref: String§provider: String§disposition: ContextDispositionV1§token_count: u64§sha256_digest: Option<String>§reason_codes: Vec<ContextReasonCodeV1>§reason_detail: Option<String>Trait Implementations§
Source§impl Clone for ContextSelectionV1
impl Clone for ContextSelectionV1
Source§impl Debug for ContextSelectionV1
impl Debug for ContextSelectionV1
Source§impl<'de> Deserialize<'de> for ContextSelectionV1
impl<'de> Deserialize<'de> for ContextSelectionV1
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 ContextSelectionV1
Source§impl PartialEq for ContextSelectionV1
impl PartialEq for ContextSelectionV1
Source§impl Serialize for ContextSelectionV1
impl Serialize for ContextSelectionV1
impl StructuralPartialEq for ContextSelectionV1
Auto Trait Implementations§
impl Forget for ContextSelectionV1
impl Freeze for ContextSelectionV1
impl Move for ContextSelectionV1
impl RefUnwindSafe for ContextSelectionV1
impl Send for ContextSelectionV1
impl Sync for ContextSelectionV1
impl Unpin for ContextSelectionV1
impl UnsafeUnpin for ContextSelectionV1
impl UnwindSafe for ContextSelectionV1
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