pub struct RotationInfo {
pub count: u32,
pub last_rotated_at: Option<i64>,
pub claude_code_session_id: Option<String>,
}Expand description
Rotation telemetry — how many times the backing Claude Code session has been rolled over to avoid context compaction.
Fields§
§count: u32§last_rotated_at: Option<i64>Unix ms of last rotation, or null if never rotated.
claude_code_session_id: Option<String>Trait Implementations§
Source§impl Clone for RotationInfo
impl Clone for RotationInfo
Source§fn clone(&self) -> RotationInfo
fn clone(&self) -> RotationInfo
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 RotationInfo
impl Debug for RotationInfo
Source§impl<'de> Deserialize<'de> for RotationInfo
impl<'de> Deserialize<'de> for RotationInfo
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 RotationInfo
impl RefUnwindSafe for RotationInfo
impl Send for RotationInfo
impl Sync for RotationInfo
impl Unpin for RotationInfo
impl UnsafeUnpin for RotationInfo
impl UnwindSafe for RotationInfo
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