pub struct RelayAttachment {
pub id: String,
pub intermediary: String,
pub target: String,
pub grant_id: Option<String>,
pub security_mode: RelaySecurityMode,
pub created_at: u64,
pub expires_at: Option<u64>,
pub detached: bool,
}Fields§
§id: String§intermediary: String§target: String§grant_id: Option<String>Present only on selections created by older daemons.
security_mode: RelaySecurityMode§created_at: u64§expires_at: Option<u64>New selections last until detached; legacy selections retain their expiry.
detached: boolTrait Implementations§
Source§impl Clone for RelayAttachment
impl Clone for RelayAttachment
Source§impl Debug for RelayAttachment
impl Debug for RelayAttachment
Source§impl<'de> Deserialize<'de> for RelayAttachment
impl<'de> Deserialize<'de> for RelayAttachment
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
Auto Trait Implementations§
impl Forget for RelayAttachment
impl Freeze for RelayAttachment
impl Move for RelayAttachment
impl RefUnwindSafe for RelayAttachment
impl Send for RelayAttachmentwhere
RawVecInner: Send,
impl Sync for RelayAttachmentwhere
RawVecInner: Sync,
impl Unpin for RelayAttachment
impl UnsafeUnpin for RelayAttachment
impl UnwindSafe for RelayAttachmentwhere
RawVecInner: 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