pub struct TypeDefinitionRegistrationOptions {
pub document_selector: Value,
pub id: Option<String>,
pub work_done_progress: Option<bool>,
}Fields§
§document_selector: ValueA document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.
id: Option<String>The id used to register the request. The id can be used to deregister the request again. See also Registration#id.
work_done_progress: Option<bool>Trait Implementations§
Source§impl Clone for TypeDefinitionRegistrationOptions
impl Clone for TypeDefinitionRegistrationOptions
Source§fn clone(&self) -> TypeDefinitionRegistrationOptions
fn clone(&self) -> TypeDefinitionRegistrationOptions
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<'de> Deserialize<'de> for TypeDefinitionRegistrationOptions
impl<'de> Deserialize<'de> for TypeDefinitionRegistrationOptions
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 TypeDefinitionRegistrationOptions
impl PartialEq for TypeDefinitionRegistrationOptions
Source§fn eq(&self, other: &TypeDefinitionRegistrationOptions) -> bool
fn eq(&self, other: &TypeDefinitionRegistrationOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TypeDefinitionRegistrationOptions
Auto Trait Implementations§
impl Freeze for TypeDefinitionRegistrationOptions
impl RefUnwindSafe for TypeDefinitionRegistrationOptions
impl Send for TypeDefinitionRegistrationOptions
impl Sync for TypeDefinitionRegistrationOptions
impl Unpin for TypeDefinitionRegistrationOptions
impl UnwindSafe for TypeDefinitionRegistrationOptions
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