pub enum Capability {
Show 44 variants
MessageTags,
ServerTime,
AccountNotify,
AccountTag,
AwayNotify,
Batch,
CapNotify,
ChgHost,
EchoMessage,
ExtendedJoin,
InviteNotify,
LabeledResponse,
Monitor,
MultiPrefix,
Sasl,
Setname,
StandardReplies,
UserhostInNames,
BotMode,
UTF8Only,
StrictTransportSecurity,
WebIRC,
Chathistory,
MessageRedaction,
AccountExtban,
Metadata2,
MessageTagsUnlimited,
Multiline,
NoImplicitNames,
PreAway,
ReadMarker,
RelayMsg,
ReplyDrafts,
TypingClient,
WebSocket,
ChannelRename,
Persistence,
ServerNameIndication,
ClientTyping,
ClientReply,
ClientReact,
LegionProtocolV1,
IronProtocolV1,
Custom(String),
}Expand description
Represents an IRCv3 capability
Variantsยง
MessageTags
ServerTime
AccountNotify
AccountTag
AwayNotify
Batch
CapNotify
ChgHost
EchoMessage
ExtendedJoin
InviteNotify
LabeledResponse
Monitor
MultiPrefix
Sasl
Setname
StandardReplies
UserhostInNames
BotMode
UTF8Only
StrictTransportSecurity
WebIRC
Chathistory
MessageRedaction
AccountExtban
Metadata2
MessageTagsUnlimited
Multiline
NoImplicitNames
PreAway
ReadMarker
RelayMsg
ReplyDrafts
TypingClient
WebSocket
ChannelRename
Persistence
ServerNameIndication
ClientTyping
ClientReply
ClientReact
LegionProtocolV1
IronProtocolV1
๐Deprecated:
Use LegionProtocolV1 instead
Custom(String)
Implementationsยง
Sourceยงimpl Capability
impl Capability
Sourcepub fn is_security_critical(&self) -> bool
pub fn is_security_critical(&self) -> bool
Check if this is a security-critical capability
Trait Implementationsยง
Sourceยงimpl Clone for Capability
impl Clone for Capability
Sourceยงfn clone(&self) -> Capability
fn clone(&self) -> Capability
Returns a duplicate 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 Capability
impl Debug for Capability
Sourceยงimpl<'de> Deserialize<'de> for Capability
impl<'de> Deserialize<'de> for Capability
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 Hash for Capability
impl Hash for Capability
Sourceยงimpl PartialEq for Capability
impl PartialEq for Capability
Sourceยงimpl Serialize for Capability
impl Serialize for Capability
impl Eq for Capability
impl StructuralPartialEq for Capability
Auto Trait Implementationsยง
impl Freeze for Capability
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin for Capability
impl UnsafeUnpin for Capability
impl UnwindSafe for Capability
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