pub struct AdditionalContextEntry {
pub kind: AdditionalContextKind,
pub value: String,
}Expand description
AdditionalContextEntry
JSON schema
{
"type": "object",
"required": [
"kind",
"value"
],
"properties": {
"kind": {
"$ref": "#/definitions/AdditionalContextKind"
},
"value": {
"type": "string"
}
}
}Fields§
§kind: AdditionalContextKind§value: StringTrait Implementations§
Source§impl Clone for AdditionalContextEntry
impl Clone for AdditionalContextEntry
Source§fn clone(&self) -> AdditionalContextEntry
fn clone(&self) -> AdditionalContextEntry
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 AdditionalContextEntry
impl Debug for AdditionalContextEntry
Source§impl<'de> Deserialize<'de> for AdditionalContextEntry
impl<'de> Deserialize<'de> for AdditionalContextEntry
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
Auto Trait Implementations§
impl Freeze for AdditionalContextEntry
impl RefUnwindSafe for AdditionalContextEntry
impl Send for AdditionalContextEntry
impl Sync for AdditionalContextEntry
impl Unpin for AdditionalContextEntry
impl UnsafeUnpin for AdditionalContextEntry
impl UnwindSafe for AdditionalContextEntry
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