pub struct ServerToolDeclaration {
pub kind: ServerToolKind,
pub wire_type: String,
pub source_protocol: WireProtocol,
pub name: Option<String>,
pub config: Value,
pub raw: Value,
pub extensions: Extensions,
}Fields§
§kind: ServerToolKind§wire_type: String§source_protocol: WireProtocol§name: Option<String>§config: Value§raw: Value§extensions: ExtensionsTrait Implementations§
Source§impl Clone for ServerToolDeclaration
impl Clone for ServerToolDeclaration
Source§fn clone(&self) -> ServerToolDeclaration
fn clone(&self) -> ServerToolDeclaration
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 Debug for ServerToolDeclaration
impl Debug for ServerToolDeclaration
Source§impl<'de> Deserialize<'de> for ServerToolDeclaration
impl<'de> Deserialize<'de> for ServerToolDeclaration
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 PartialEq for ServerToolDeclaration
impl PartialEq for ServerToolDeclaration
Source§fn eq(&self, other: &ServerToolDeclaration) -> bool
fn eq(&self, other: &ServerToolDeclaration) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ServerToolDeclaration
impl Serialize for ServerToolDeclaration
impl StructuralPartialEq for ServerToolDeclaration
Auto Trait Implementations§
impl Freeze for ServerToolDeclaration
impl RefUnwindSafe for ServerToolDeclaration
impl Send for ServerToolDeclaration
impl Sync for ServerToolDeclaration
impl Unpin for ServerToolDeclaration
impl UnsafeUnpin for ServerToolDeclaration
impl UnwindSafe for ServerToolDeclaration
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