pub struct DirectChannelProfile;Expand description
Base profile for direct and channel conversations: base message types only, no recognized extension options.
Trait Implementations§
Source§impl Clone for DirectChannelProfile
impl Clone for DirectChannelProfile
Source§fn clone(&self) -> DirectChannelProfile
fn clone(&self) -> DirectChannelProfile
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DirectChannelProfile
impl Debug for DirectChannelProfile
Source§impl Default for DirectChannelProfile
impl Default for DirectChannelProfile
Source§fn default() -> DirectChannelProfile
fn default() -> DirectChannelProfile
Returns the “default value” for a type. Read more
Source§impl TextProfile for DirectChannelProfile
impl TextProfile for DirectChannelProfile
Source§fn recognizes_content_type(&self, message_type: MessageType) -> bool
fn recognizes_content_type(&self, message_type: MessageType) -> bool
Whether a non-control message type is recognized as displayable
content in this profile.
Source§fn extension_treatment(&self, _number: u16) -> Option<DuplicateTreatment>
fn extension_treatment(&self, _number: u16) -> Option<DuplicateTreatment>
Duplicate treatment for a recognized extension option, or
None when
the option is unrecognized (and therefore ignorable).impl Copy for DirectChannelProfile
Auto Trait Implementations§
impl Freeze for DirectChannelProfile
impl RefUnwindSafe for DirectChannelProfile
impl Send for DirectChannelProfile
impl Sync for DirectChannelProfile
impl Unpin for DirectChannelProfile
impl UnwindSafe for DirectChannelProfile
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)