pub struct SessionCloseAllResponse {
pub ok: bool,
pub closed: u32,
}Expand description
POST /session/close-all — v1.0.4 §D5 support for smix runner cycle. Runner-side clears every open session and returns the
count that was cleared.
Fields§
§ok: boolTrue on success (idempotent — closing an empty session table is not an error).
closed: u32Number of sessions closed.
Trait Implementations§
Source§impl Clone for SessionCloseAllResponse
impl Clone for SessionCloseAllResponse
Source§fn clone(&self) -> SessionCloseAllResponse
fn clone(&self) -> SessionCloseAllResponse
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 SessionCloseAllResponse
impl Debug for SessionCloseAllResponse
Source§impl Default for SessionCloseAllResponse
impl Default for SessionCloseAllResponse
Source§fn default() -> SessionCloseAllResponse
fn default() -> SessionCloseAllResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionCloseAllResponse
impl<'de> Deserialize<'de> for SessionCloseAllResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionCloseAllResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionCloseAllResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SessionCloseAllResponse
impl Serialize for SessionCloseAllResponse
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
Auto Trait Implementations§
impl Freeze for SessionCloseAllResponse
impl RefUnwindSafe for SessionCloseAllResponse
impl Send for SessionCloseAllResponse
impl Sync for SessionCloseAllResponse
impl Unpin for SessionCloseAllResponse
impl UnsafeUnpin for SessionCloseAllResponse
impl UnwindSafe for SessionCloseAllResponse
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