pub struct UserChatRelay {
pub chat_relay_id: i64,
pub address: String,
pub relay_profile: RelayProfile,
pub domains: Vec<String>,
pub preset: bool,
pub tested: Option<bool>,
pub enabled: bool,
pub deleted: bool,
pub undocumented: JsonObject,
}Fields§
§chat_relay_id: i64§address: String§relay_profile: RelayProfile§domains: Vec<String>§preset: bool§tested: Option<bool>§enabled: bool§deleted: bool§undocumented: JsonObjectTrait Implementations§
Source§impl Clone for UserChatRelay
impl Clone for UserChatRelay
Source§fn clone(&self) -> UserChatRelay
fn clone(&self) -> UserChatRelay
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 UserChatRelay
impl Debug for UserChatRelay
Source§impl<'de> Deserialize<'de> for UserChatRelay
impl<'de> Deserialize<'de> for UserChatRelay
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 UserChatRelay
impl PartialEq for UserChatRelay
Source§fn eq(&self, other: &UserChatRelay) -> bool
fn eq(&self, other: &UserChatRelay) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UserChatRelay
impl Serialize for UserChatRelay
impl StructuralPartialEq for UserChatRelay
Auto Trait Implementations§
impl Freeze for UserChatRelay
impl RefUnwindSafe for UserChatRelay
impl Send for UserChatRelay
impl Sync for UserChatRelay
impl Unpin for UserChatRelay
impl UnsafeUnpin for UserChatRelay
impl UnwindSafe for UserChatRelay
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