pub struct CapabilitiesEvent {
pub capabilities: Capabilities,
}
Expand description
The event indicates that one or more capabilities have changed. Since the capabilities are dependent on the client and its UI, it might not be possible to change that at random times (or too late). Consequently this event has a hint characteristic: a client can only be expected to make a ‘best effort’ in honoring individual capabilities but there are no guarantees. Only changed capabilities need to be included, all other capabilities keep their values.
Fields§
§capabilities: Capabilities
The set of updated capabilities.
Trait Implementations§
Source§impl Clone for CapabilitiesEvent
impl Clone for CapabilitiesEvent
Source§fn clone(&self) -> CapabilitiesEvent
fn clone(&self) -> CapabilitiesEvent
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 CapabilitiesEvent
impl Debug for CapabilitiesEvent
Source§impl<'de> Deserialize<'de> for CapabilitiesEvent
impl<'de> Deserialize<'de> for CapabilitiesEvent
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
Auto Trait Implementations§
impl Freeze for CapabilitiesEvent
impl RefUnwindSafe for CapabilitiesEvent
impl Send for CapabilitiesEvent
impl Sync for CapabilitiesEvent
impl Unpin for CapabilitiesEvent
impl UnwindSafe for CapabilitiesEvent
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