pub struct OmittedSegment {
pub pointer: String,
pub reason: ToolResultOmissionReason,
pub page_token: String,
}Expand description
One omitted payload segment and its opaque continuation token.
Fields§
§pointer: StringJSON Pointer to the omitted segment in the original payload.
reason: ToolResultOmissionReasonMachine-readable omission reason.
page_token: StringOpaque continuation token for callers that can page the original result.
Trait Implementations§
Source§impl Clone for OmittedSegment
impl Clone for OmittedSegment
Source§fn clone(&self) -> OmittedSegment
fn clone(&self) -> OmittedSegment
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 OmittedSegment
impl Debug for OmittedSegment
Source§impl<'de> Deserialize<'de> for OmittedSegment
impl<'de> Deserialize<'de> for OmittedSegment
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 OmittedSegment
impl PartialEq for OmittedSegment
Source§fn eq(&self, other: &OmittedSegment) -> bool
fn eq(&self, other: &OmittedSegment) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OmittedSegment
impl Serialize for OmittedSegment
impl Eq for OmittedSegment
impl StructuralPartialEq for OmittedSegment
Auto Trait Implementations§
impl Freeze for OmittedSegment
impl RefUnwindSafe for OmittedSegment
impl Send for OmittedSegment
impl Sync for OmittedSegment
impl Unpin for OmittedSegment
impl UnsafeUnpin for OmittedSegment
impl UnwindSafe for OmittedSegment
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