pub struct SessionListFilter {
pub branch: Option<String>,
pub cwd: Option<String>,
pub git_root: Option<String>,
pub repository: Option<String>,
}Expand description
Optional filter applied to the returned sessions
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§branch: Option<String>Match sessions whose context.branch equals this value
cwd: Option<String>Match sessions whose context.cwd equals this value
git_root: Option<String>Match sessions whose context.gitRoot equals this value
repository: Option<String>Match sessions whose context.repository equals this value
Trait Implementations§
Source§impl Clone for SessionListFilter
impl Clone for SessionListFilter
Source§fn clone(&self) -> SessionListFilter
fn clone(&self) -> SessionListFilter
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 SessionListFilter
impl Debug for SessionListFilter
Source§impl Default for SessionListFilter
impl Default for SessionListFilter
Source§fn default() -> SessionListFilter
fn default() -> SessionListFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionListFilter
impl<'de> Deserialize<'de> for SessionListFilter
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 SessionListFilter
impl RefUnwindSafe for SessionListFilter
impl Send for SessionListFilter
impl Sync for SessionListFilter
impl Unpin for SessionListFilter
impl UnsafeUnpin for SessionListFilter
impl UnwindSafe for SessionListFilter
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