pub struct ClaudeRuntimePosture {
pub permission_mode: Option<String>,
pub last_prompt_leaf_uuid: Option<String>,
pub last_prompt: Option<String>,
pub timestamp: Option<String>,
pub entrypoint: Option<String>,
pub user_type: Option<String>,
pub version: Option<String>,
pub cwd: Option<String>,
}Expand description
Latest Claude CLI mode and permission posture.
Fields§
§permission_mode: Option<String>Latest permission-mode.permissionMode value.
last_prompt_leaf_uuid: Option<String>Latest last-prompt.leafUuid, identifying Claude’s selected prompt leaf.
last_prompt: Option<String>Latest abbreviated last-prompt.lastPrompt value.
timestamp: Option<String>Latest runtime record timestamp.
entrypoint: Option<String>Latest Claude CLI entrypoint (normally cli).
user_type: Option<String>Latest Claude user posture (normally external).
version: Option<String>Latest Claude Code version recorded by the runtime.
cwd: Option<String>Latest working directory recorded by the runtime.
Trait Implementations§
Source§impl Clone for ClaudeRuntimePosture
impl Clone for ClaudeRuntimePosture
Source§fn clone(&self) -> ClaudeRuntimePosture
fn clone(&self) -> ClaudeRuntimePosture
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 ClaudeRuntimePosture
impl Debug for ClaudeRuntimePosture
Source§impl Default for ClaudeRuntimePosture
impl Default for ClaudeRuntimePosture
Source§fn default() -> ClaudeRuntimePosture
fn default() -> ClaudeRuntimePosture
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClaudeRuntimePosture
impl<'de> Deserialize<'de> for ClaudeRuntimePosture
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
impl Eq for ClaudeRuntimePosture
Source§impl PartialEq for ClaudeRuntimePosture
impl PartialEq for ClaudeRuntimePosture
Source§impl Serialize for ClaudeRuntimePosture
impl Serialize for ClaudeRuntimePosture
impl StructuralPartialEq for ClaudeRuntimePosture
Auto Trait Implementations§
impl Freeze for ClaudeRuntimePosture
impl RefUnwindSafe for ClaudeRuntimePosture
impl Send for ClaudeRuntimePosture
impl Sync for ClaudeRuntimePosture
impl Unpin for ClaudeRuntimePosture
impl UnsafeUnpin for ClaudeRuntimePosture
impl UnwindSafe for ClaudeRuntimePosture
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.