pub struct LogOption {Show 33 fields
pub date: String,
pub messages: Vec<SerializedMessage>,
pub full_path: Option<String>,
pub value: i64,
pub created: DateTime<Local>,
pub modified: DateTime<Local>,
pub first_prompt: String,
pub message_count: i64,
pub file_size: Option<u64>,
pub is_sidechain: bool,
pub is_lite: Option<bool>,
pub session_id: Option<String>,
pub team_name: Option<String>,
pub agent_name: Option<String>,
pub agent_color: Option<String>,
pub agent_setting: Option<String>,
pub is_teammate: Option<bool>,
pub leaf_uuid: Option<Uuid>,
pub summary: Option<String>,
pub custom_title: Option<String>,
pub tag: Option<String>,
pub file_history_snapshots: Option<Vec<FileHistorySnapshot>>,
pub attribution_snapshots: Option<Vec<AttributionSnapshotMessage>>,
pub context_collapse_commits: Option<Vec<ContextCollapseCommitEntry>>,
pub context_collapse_snapshot: Option<ContextCollapseSnapshotEntry>,
pub git_branch: Option<String>,
pub project_path: Option<String>,
pub pr_number: Option<i64>,
pub pr_url: Option<String>,
pub pr_repository: Option<String>,
pub mode: Option<SessionMode>,
pub worktree_session: Option<Option<PersistedWorktreeSession>>,
pub content_replacements: Option<Vec<ContentReplacementRecord>>,
}Expand description
Log option representing a session log entry.
Fields§
§date: String§messages: Vec<SerializedMessage>§full_path: Option<String>§value: i64§created: DateTime<Local>§modified: DateTime<Local>§first_prompt: String§message_count: i64§file_size: Option<u64>§is_sidechain: bool§is_lite: Option<bool>§session_id: Option<String>§team_name: Option<String>§agent_name: Option<String>§agent_color: Option<String>§agent_setting: Option<String>§is_teammate: Option<bool>§leaf_uuid: Option<Uuid>§summary: Option<String>§custom_title: Option<String>§tag: Option<String>§file_history_snapshots: Option<Vec<FileHistorySnapshot>>§attribution_snapshots: Option<Vec<AttributionSnapshotMessage>>§context_collapse_commits: Option<Vec<ContextCollapseCommitEntry>>§context_collapse_snapshot: Option<ContextCollapseSnapshotEntry>§git_branch: Option<String>§project_path: Option<String>§pr_number: Option<i64>§pr_url: Option<String>§pr_repository: Option<String>§mode: Option<SessionMode>§worktree_session: Option<Option<PersistedWorktreeSession>>§content_replacements: Option<Vec<ContentReplacementRecord>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogOption
impl<'de> Deserialize<'de> for LogOption
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 LogOption
impl RefUnwindSafe for LogOption
impl Send for LogOption
impl Sync for LogOption
impl Unpin for LogOption
impl UnsafeUnpin for LogOption
impl UnwindSafe for LogOption
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