pub struct SessionGet {Show 15 fields
pub session_id: String,
pub custom_id: Option<String>,
pub status: String,
pub ready: bool,
pub linked: bool,
pub kind: String,
pub user_count: i32,
pub app_version: i32,
pub create_time: String,
pub elapsed: i32,
pub error: Option<String>,
pub session_users: Option<Vec<SessionUser>>,
pub session_ips: Option<Vec<SessionUser>>,
pub deployment: Option<Box<Deployment>>,
pub webhook_url: Option<String>,
}Fields§
§session_id: StringUnique UUID
custom_id: Option<String>Custom ID if Available
status: StringCurrent status of the session
ready: boolIf the session is linked to a ready deployment
linked: boolIf the session is linked to a deployment
kind: StringType of session created
user_count: i32Count of user this session currently have
app_version: i32App version linked to the session
create_time: StringSession created at
elapsed: i32Elapsed time
error: Option<String>Error Detail
session_users: Option<Vec<SessionUser>>Users in the session
session_ips: Option<Vec<SessionUser>>IPS in the session
deployment: Option<Box<Deployment>>§webhook_url: Option<String>When your Session is Linked, Unprocessable or in Error, we will POST the session’s details on the webhook_url
Implementations§
Trait Implementations§
Source§impl Clone for SessionGet
impl Clone for SessionGet
Source§fn clone(&self) -> SessionGet
fn clone(&self) -> SessionGet
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 SessionGet
impl Debug for SessionGet
Source§impl Default for SessionGet
impl Default for SessionGet
Source§fn default() -> SessionGet
fn default() -> SessionGet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionGet
impl<'de> Deserialize<'de> for SessionGet
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 PartialEq for SessionGet
impl PartialEq for SessionGet
Source§impl Serialize for SessionGet
impl Serialize for SessionGet
impl StructuralPartialEq for SessionGet
Auto Trait Implementations§
impl Freeze for SessionGet
impl RefUnwindSafe for SessionGet
impl Send for SessionGet
impl Sync for SessionGet
impl Unpin for SessionGet
impl UnwindSafe for SessionGet
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