pub struct ChatChannel {
pub platform: Option<Platform>,
pub name: Option<String>,
pub guild_name: Option<String>,
}Expand description
{ platform, name, guildName } in the TypeScript SDK: the Discord or Slack channel a chat is.
Fields§
§platform: Option<Platform>§name: Option<String>§guild_name: Option<String>Trait Implementations§
Source§impl Clone for ChatChannel
impl Clone for ChatChannel
Source§impl Debug for ChatChannel
impl Debug for ChatChannel
Source§impl Default for ChatChannel
impl Default for ChatChannel
Source§impl<'de> Deserialize<'de> for ChatChannel
impl<'de> Deserialize<'de> for ChatChannel
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
impl Eq for ChatChannel
Source§impl PartialEq for ChatChannel
impl PartialEq for ChatChannel
Source§impl Serialize for ChatChannel
impl Serialize for ChatChannel
impl StructuralPartialEq for ChatChannel
Auto Trait Implementations§
impl Forget for ChatChannel
impl Freeze for ChatChannel
impl Move for ChatChannel
impl RefUnwindSafe for ChatChannel
impl Send for ChatChannelwhere
RawVecInner: Send,
impl Sync for ChatChannelwhere
RawVecInner: Sync,
impl Unpin for ChatChannel
impl UnsafeUnpin for ChatChannel
impl UnwindSafe for ChatChannelwhere
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.