pub struct ClaudePeerSettings {
pub path: PathBuf,
pub revision: String,
pub cross_session_inbound: Option<ClaudeCrossSessionInbound>,
}Expand description
The user-settings portion Supercode can inspect without pretending to know a target process’s complete managed/project/CLI precedence stack.
Fields§
§path: PathBufExact user settings file read or written.
revision: StringHash of the exact native bytes observed. Configure calls may use this as an optimistic concurrency guard.
cross_session_inbound: Option<ClaudeCrossSessionInbound>Explicit user value. None means Claude’s permission-class default
remains in effect and can hold a message.
Implementations§
Source§impl ClaudePeerSettings
impl ClaudePeerSettings
Sourcepub fn user_allows_automatic_delivery(&self) -> bool
pub fn user_allows_automatic_delivery(&self) -> bool
True only when this user setting explicitly opts into automatic delivery. A higher-precedence managed/project/CLI setting can still override it, so callers must label this as user-level evidence.
Trait Implementations§
Source§impl Clone for ClaudePeerSettings
impl Clone for ClaudePeerSettings
Source§fn clone(&self) -> ClaudePeerSettings
fn clone(&self) -> ClaudePeerSettings
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 ClaudePeerSettings
impl Debug for ClaudePeerSettings
impl Eq for ClaudePeerSettings
Source§impl PartialEq for ClaudePeerSettings
impl PartialEq for ClaudePeerSettings
Source§impl Serialize for ClaudePeerSettings
impl Serialize for ClaudePeerSettings
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ClaudePeerSettings
Auto Trait Implementations§
impl Freeze for ClaudePeerSettings
impl RefUnwindSafe for ClaudePeerSettings
impl Send for ClaudePeerSettings
impl Sync for ClaudePeerSettings
impl Unpin for ClaudePeerSettings
impl UnsafeUnpin for ClaudePeerSettings
impl UnwindSafe for ClaudePeerSettings
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,
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.