pub struct SessionListResponse {
pub next_cursor: Option<String>,
pub sessions: Vec<SessionResponse>,
}Expand description
Paginated list of sessions.
JSON schema
{
"description": "Paginated list of sessions.",
"type": "object",
"required": [
"sessions"
],
"properties": {
"next_cursor": {
"description": "Cursor for fetching the next page (if more results exist)",
"type": "string"
},
"sessions": {
"description": "List of sessions",
"type": "array",
"items": {
"$ref": "#/$defs/SessionResponse"
}
}
}
}Fields§
§next_cursor: Option<String>Cursor for fetching the next page (if more results exist)
sessions: Vec<SessionResponse>List of sessions
Trait Implementations§
Source§impl Clone for SessionListResponse
impl Clone for SessionListResponse
Source§fn clone(&self) -> SessionListResponse
fn clone(&self) -> SessionListResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 SessionListResponse
impl Debug for SessionListResponse
Source§impl<'de> Deserialize<'de> for SessionListResponse
impl<'de> Deserialize<'de> for SessionListResponse
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 From<&SessionListResponse> for SessionListResponse
impl From<&SessionListResponse> for SessionListResponse
Source§fn from(value: &SessionListResponse) -> Self
fn from(value: &SessionListResponse) -> Self
Converts to this type from the input type.
Source§impl From<SessionListResponse> for ModelRelayApi
impl From<SessionListResponse> for ModelRelayApi
Source§fn from(value: SessionListResponse) -> Self
fn from(value: SessionListResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SessionListResponse
impl PartialEq for SessionListResponse
Source§impl Serialize for SessionListResponse
impl Serialize for SessionListResponse
impl StructuralPartialEq for SessionListResponse
Auto Trait Implementations§
impl Freeze for SessionListResponse
impl RefUnwindSafe for SessionListResponse
impl Send for SessionListResponse
impl Sync for SessionListResponse
impl Unpin for SessionListResponse
impl UnwindSafe for SessionListResponse
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