Struct ricq_core::msg::MessageChain
source · [−]Tuple Fields
0: Vec<Elem>Implementations
sourceimpl MessageChain
impl MessageChain
pub fn fragment(self) -> Vec<MessageChain>
sourceimpl MessageChain
impl MessageChain
pub fn new<E: Into<Vec<Elem>>>(e: E) -> Self
pub fn push<E: Into<Vec<Elem>>>(&mut self, e: E)
pub fn anonymous(&self) -> Option<Anonymous>
pub fn reply(&self) -> Option<Reply>
pub fn with_anonymous(&mut self, anonymous: Anonymous)
pub fn with_reply(&mut self, reply: Reply)
Trait Implementations
sourceimpl Clone for MessageChain
impl Clone for MessageChain
sourcefn clone(&self) -> MessageChain
fn clone(&self) -> MessageChain
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MessageChain
impl Debug for MessageChain
sourceimpl Default for MessageChain
impl Default for MessageChain
sourcefn default() -> MessageChain
fn default() -> MessageChain
Returns the “default value” for a type. Read more
sourceimpl Display for MessageChain
impl Display for MessageChain
sourceimpl From<MessageChain> for Vec<Elem>
impl From<MessageChain> for Vec<Elem>
sourcefn from(e: MessageChain) -> Self
fn from(e: MessageChain) -> Self
Converts to this type from the input type.
sourceimpl<E> FromIterator<E> for MessageChain where
E: Into<Vec<Elem>>,
impl<E> FromIterator<E> for MessageChain where
E: Into<Vec<Elem>>,
sourcefn from_iter<T: IntoIterator<Item = E>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = E>>(iter: T) -> Self
Creates a value from an iterator. Read more
Auto Trait Implementations
impl RefUnwindSafe for MessageChain
impl Send for MessageChain
impl Sync for MessageChain
impl Unpin for MessageChain
impl UnwindSafe for MessageChain
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more