Struct atrium_api::chat::bsky::convo::defs::MessageInput
source · pub struct MessageInput {
pub embed: Option<Union<MessageInputEmbedRefs>>,
pub facets: Option<Vec<Main>>,
pub text: String,
}Available on crate feature
namespace-chatbsky only.Fields§
§embed: Option<Union<MessageInputEmbedRefs>>§facets: Option<Vec<Main>>Annotations of text (mentions, URLs, hashtags, etc)
text: StringTrait Implementations§
source§impl Clone for MessageInput
impl Clone for MessageInput
source§fn clone(&self) -> MessageInput
fn clone(&self) -> MessageInput
Returns a copy 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 MessageInput
impl Debug for MessageInput
source§impl<'de> Deserialize<'de> for MessageInput
impl<'de> Deserialize<'de> for MessageInput
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 MessageInput
impl PartialEq for MessageInput
source§fn eq(&self, other: &MessageInput) -> bool
fn eq(&self, other: &MessageInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MessageInput
impl Serialize for MessageInput
impl Eq for MessageInput
impl StructuralPartialEq for MessageInput
Auto Trait Implementations§
impl Freeze for MessageInput
impl RefUnwindSafe for MessageInput
impl Send for MessageInput
impl Sync for MessageInput
impl Unpin for MessageInput
impl UnwindSafe for MessageInput
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<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.