pub struct SessionListArgs {
pub directory: Option<String>,
pub all: Option<bool>,
pub search: Option<String>,
pub limit: Option<u32>,
pub cursor: Option<String>,
}Fields§
§directory: Option<String>Workspace directory filter (default: the paired directory, else the host working directory).
all: Option<bool>Drop the directory filter.
search: Option<String>§limit: Option<u32>1..200, default 20.
cursor: Option<String>Trait Implementations§
Source§impl Debug for SessionListArgs
impl Debug for SessionListArgs
Source§impl<'de> Deserialize<'de> for SessionListArgs
impl<'de> Deserialize<'de> for SessionListArgs
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
Source§impl JsonSchema for SessionListArgs
impl JsonSchema for SessionListArgs
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for SessionListArgs
impl RefUnwindSafe for SessionListArgs
impl Send for SessionListArgs
impl Sync for SessionListArgs
impl Unpin for SessionListArgs
impl UnsafeUnpin for SessionListArgs
impl UnwindSafe for SessionListArgs
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