pub struct PlumbingMessage {
pub src: Option<String>,
pub dst: Option<String>,
pub wdir: Option<String>,
pub attrs: BTreeMap<String, String>,
pub data: String,
}Expand description
The deserialized form of a plumbing message sent by a client.
Fields§
§src: Option<String>The application or service generating the message
dst: Option<String>The destination “port” for the message
wdir: Option<String>The working directory (used when data is a filename)
attrs: BTreeMap<String, String>Name=value pairs. Must not contain newlines
data: StringThe string content of the message itself
Trait Implementations§
Source§impl Clone for PlumbingMessage
impl Clone for PlumbingMessage
Source§fn clone(&self) -> PlumbingMessage
fn clone(&self) -> PlumbingMessage
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 PlumbingMessage
impl Debug for PlumbingMessage
Source§impl Default for PlumbingMessage
impl Default for PlumbingMessage
Source§fn default() -> PlumbingMessage
fn default() -> PlumbingMessage
Returns the “default value” for a type. Read more
Source§impl FromStr for PlumbingMessage
impl FromStr for PlumbingMessage
Source§impl PartialEq for PlumbingMessage
impl PartialEq for PlumbingMessage
impl Eq for PlumbingMessage
impl StructuralPartialEq for PlumbingMessage
Auto Trait Implementations§
impl Freeze for PlumbingMessage
impl RefUnwindSafe for PlumbingMessage
impl Send for PlumbingMessage
impl Sync for PlumbingMessage
impl Unpin for PlumbingMessage
impl UnwindSafe for PlumbingMessage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.