pub struct StopSession {
pub response_url: Url,
pub session_id: CiString<36>,
pub extensions: Extensions,
}Available on crate feature
v2_3_0 only.Expand description
A request to stop an ongoing session.
Spec: 2.3.0 §mod_commands_stopsession_object
Fields§
§response_url: UrlURL that the CommandResult POST should be sent to.
session_id: CiString<36>Session.id of the Session that is requested to be stopped.
extensions: ExtensionsUndocumented JSON fields, preserved verbatim.
Implementations§
Source§impl StopSession
impl StopSession
Sourcepub fn builder() -> StopSessionBuilder
pub fn builder() -> StopSessionBuilder
Create an instance of StopSession using the builder syntax
Trait Implementations§
Source§impl Clone for StopSession
impl Clone for StopSession
Source§fn clone(&self) -> StopSession
fn clone(&self) -> StopSession
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 StopSession
impl Debug for StopSession
Source§impl<'de> Deserialize<'de> for StopSession
impl<'de> Deserialize<'de> for StopSession
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 StopSession
impl JsonSchema for StopSession
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 moreSource§impl PartialEq for StopSession
impl PartialEq for StopSession
Source§impl Serialize for StopSession
impl Serialize for StopSession
impl StructuralPartialEq for StopSession
Source§impl Validate for StopSession
impl Validate for StopSession
Auto Trait Implementations§
impl Freeze for StopSession
impl RefUnwindSafe for StopSession
impl Send for StopSession
impl Sync for StopSession
impl Unpin for StopSession
impl UnsafeUnpin for StopSession
impl UnwindSafe for StopSession
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