pub struct Legacy2024ResourcesCapability {
pub subscribe: bool,
pub list_changed: bool,
pub extensions: BTreeMap<String, Value>,
}Expand description
Exact 2024-11-05 resources capability shape.
Fields§
§subscribe: boolWhether resource subscriptions are supported.
list_changed: boolWhether resource-list-change notifications are supported.
extensions: BTreeMap<String, Value>Additional fields allowed by the pinned open object shape.
Trait Implementations§
Source§impl Clone for Legacy2024ResourcesCapability
impl Clone for Legacy2024ResourcesCapability
Source§fn clone(&self) -> Legacy2024ResourcesCapability
fn clone(&self) -> Legacy2024ResourcesCapability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for Legacy2024ResourcesCapability
impl Default for Legacy2024ResourcesCapability
Source§fn default() -> Legacy2024ResourcesCapability
fn default() -> Legacy2024ResourcesCapability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Legacy2024ResourcesCapability
impl<'de> Deserialize<'de> for Legacy2024ResourcesCapability
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
impl StructuralPartialEq for Legacy2024ResourcesCapability
Auto Trait Implementations§
impl Freeze for Legacy2024ResourcesCapability
impl RefUnwindSafe for Legacy2024ResourcesCapability
impl Send for Legacy2024ResourcesCapability
impl Sync for Legacy2024ResourcesCapability
impl Unpin for Legacy2024ResourcesCapability
impl UnsafeUnpin for Legacy2024ResourcesCapability
impl UnwindSafe for Legacy2024ResourcesCapability
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).