pub struct ScopeIds {
pub session_id: Option<String>,
pub repo_id: Option<String>,
pub agent_id: Option<String>,
pub user_id: Option<String>,
pub task_id: Option<String>,
}Expand description
Domain types re-exported from kindling_types so the daemon client is a
self-contained SDK: depend on kindling-client alone and reach every type
the API sends or returns as kindling_client::<Type>. kindling-types
stays an internal transitive dependency you never have to name.
Scope identifiers for multi-dimensional isolation.
All fields are optional to support partial scoping. Mirrors ScopeIds
in packages/kindling-core/src/types/common.ts.
Fields§
§session_id: Option<String>§repo_id: Option<String>§agent_id: Option<String>§user_id: Option<String>§task_id: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ScopeIds
impl<'de> Deserialize<'de> for ScopeIds
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScopeIds, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScopeIds, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ScopeIds
Source§impl Serialize for ScopeIds
impl Serialize for ScopeIds
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 ScopeIds
Auto Trait Implementations§
impl Freeze for ScopeIds
impl RefUnwindSafe for ScopeIds
impl Send for ScopeIds
impl Sync for ScopeIds
impl Unpin for ScopeIds
impl UnsafeUnpin for ScopeIds
impl UnwindSafe for ScopeIds
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.