pub struct BetaContextManagementCapability {
pub supported: bool,
pub clear_thinking_20251015: Option<BetaCapabilitySupport>,
pub clear_tool_uses_20250919: Option<BetaCapabilitySupport>,
pub compact_20260112: Option<BetaCapabilitySupport>,
}Fields§
§supported: bool§clear_thinking_20251015: Option<BetaCapabilitySupport>§clear_tool_uses_20250919: Option<BetaCapabilitySupport>§compact_20260112: Option<BetaCapabilitySupport>Trait Implementations§
Source§impl Clone for BetaContextManagementCapability
impl Clone for BetaContextManagementCapability
Source§fn clone(&self) -> BetaContextManagementCapability
fn clone(&self) -> BetaContextManagementCapability
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for BetaContextManagementCapability
impl<'de> Deserialize<'de> for BetaContextManagementCapability
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 BetaContextManagementCapability
impl PartialEq for BetaContextManagementCapability
Source§fn eq(&self, other: &BetaContextManagementCapability) -> bool
fn eq(&self, other: &BetaContextManagementCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BetaContextManagementCapability
impl StructuralPartialEq for BetaContextManagementCapability
Auto Trait Implementations§
impl Freeze for BetaContextManagementCapability
impl RefUnwindSafe for BetaContextManagementCapability
impl Send for BetaContextManagementCapability
impl Sync for BetaContextManagementCapability
impl Unpin for BetaContextManagementCapability
impl UnsafeUnpin for BetaContextManagementCapability
impl UnwindSafe for BetaContextManagementCapability
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