pub struct AttachRelayResponse {
pub accept: bool,
}Expand description
Module response body for an accepted attach relay.
A rejected attach is returned as an ErrorBody ERROR frame.
Fields§
§accept: boolTrait Implementations§
Source§impl Clone for AttachRelayResponse
impl Clone for AttachRelayResponse
Source§fn clone(&self) -> AttachRelayResponse
fn clone(&self) -> AttachRelayResponse
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 AttachRelayResponse
impl Debug for AttachRelayResponse
Source§impl<'de> Deserialize<'de> for AttachRelayResponse
impl<'de> Deserialize<'de> for AttachRelayResponse
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 PartialEq for AttachRelayResponse
impl PartialEq for AttachRelayResponse
Source§fn eq(&self, other: &AttachRelayResponse) -> bool
fn eq(&self, other: &AttachRelayResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AttachRelayResponse
impl Serialize for AttachRelayResponse
impl StructuralPartialEq for AttachRelayResponse
Auto Trait Implementations§
impl Freeze for AttachRelayResponse
impl RefUnwindSafe for AttachRelayResponse
impl Send for AttachRelayResponse
impl Sync for AttachRelayResponse
impl Unpin for AttachRelayResponse
impl UnsafeUnpin for AttachRelayResponse
impl UnwindSafe for AttachRelayResponse
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