pub struct WithSessionMsg<M> {
pub message: ActionMsg<M>,
pub session_key: String,
}Fields§
§message: ActionMsg<M>§session_key: StringTrait Implementations§
Source§impl<M: Clone> Clone for WithSessionMsg<M>
impl<M: Clone> Clone for WithSessionMsg<M>
Source§fn clone(&self) -> WithSessionMsg<M>
fn clone(&self) -> WithSessionMsg<M>
Returns a copy 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<M: Debug> Debug for WithSessionMsg<M>
impl<M: Debug> Debug for WithSessionMsg<M>
Source§impl<'de, M> Deserialize<'de> for WithSessionMsg<M>where
M: Deserialize<'de>,
impl<'de, M> Deserialize<'de> for WithSessionMsg<M>where
M: Deserialize<'de>,
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<M: JsonSchema> JsonSchema for WithSessionMsg<M>
impl<M: JsonSchema> JsonSchema for WithSessionMsg<M>
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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 is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl<M: PartialEq> PartialEq for WithSessionMsg<M>
impl<M: PartialEq> PartialEq for WithSessionMsg<M>
Source§impl<M> Serialize for WithSessionMsg<M>where
M: Serialize,
impl<M> Serialize for WithSessionMsg<M>where
M: Serialize,
impl<M> StructuralPartialEq for WithSessionMsg<M>
Auto Trait Implementations§
impl<M> Freeze for WithSessionMsg<M>where
M: Freeze,
impl<M> RefUnwindSafe for WithSessionMsg<M>where
M: RefUnwindSafe,
impl<M> Send for WithSessionMsg<M>where
M: Send,
impl<M> Sync for WithSessionMsg<M>where
M: Sync,
impl<M> Unpin for WithSessionMsg<M>where
M: Unpin,
impl<M> UnwindSafe for WithSessionMsg<M>where
M: UnwindSafe,
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