struct SerializedCnx {
src: String,
dst: String,
msg: String,
missions: Option<Vec<String>>,
}Expand description
Serialized representation of a connection used for the RON config.
Fields§
§src: String§dst: String§msg: String§missions: Option<Vec<String>>Trait Implementations§
Source§impl Clone for SerializedCnx
impl Clone for SerializedCnx
Source§fn clone(&self) -> SerializedCnx
fn clone(&self) -> SerializedCnx
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 SerializedCnx
impl Debug for SerializedCnx
Source§impl<'de> Deserialize<'de> for SerializedCnx
impl<'de> Deserialize<'de> for SerializedCnx
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<&Cnx> for SerializedCnx
impl From<&Cnx> for SerializedCnx
Auto Trait Implementations§
impl Freeze for SerializedCnx
impl RefUnwindSafe for SerializedCnx
impl Send for SerializedCnx
impl Sync for SerializedCnx
impl Unpin for SerializedCnx
impl UnwindSafe for SerializedCnx
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