pub enum NotebookDocumentSync {
Options(NotebookDocumentSyncOptions),
RegistrationOptions(NotebookDocumentSyncRegistrationOptions),
}Variants§
Options(NotebookDocumentSyncOptions)
RegistrationOptions(NotebookDocumentSyncRegistrationOptions)
Trait Implementations§
Source§impl Clone for NotebookDocumentSync
impl Clone for NotebookDocumentSync
Source§fn clone(&self) -> NotebookDocumentSync
fn clone(&self) -> NotebookDocumentSync
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 NotebookDocumentSync
impl Debug for NotebookDocumentSync
Source§impl<'de> Deserialize<'de> for NotebookDocumentSync
impl<'de> Deserialize<'de> for NotebookDocumentSync
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 From<NotebookDocumentSyncOptions> for NotebookDocumentSync
impl From<NotebookDocumentSyncOptions> for NotebookDocumentSync
Source§fn from(v: NotebookDocumentSyncOptions) -> Self
fn from(v: NotebookDocumentSyncOptions) -> Self
Converts to this type from the input type.
Source§impl From<NotebookDocumentSyncRegistrationOptions> for NotebookDocumentSync
impl From<NotebookDocumentSyncRegistrationOptions> for NotebookDocumentSync
Source§fn from(v: NotebookDocumentSyncRegistrationOptions) -> Self
fn from(v: NotebookDocumentSyncRegistrationOptions) -> Self
Converts to this type from the input type.
Source§impl Hash for NotebookDocumentSync
impl Hash for NotebookDocumentSync
Source§impl PartialEq for NotebookDocumentSync
impl PartialEq for NotebookDocumentSync
Source§fn eq(&self, other: &NotebookDocumentSync) -> bool
fn eq(&self, other: &NotebookDocumentSync) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NotebookDocumentSync
impl Serialize for NotebookDocumentSync
impl Eq for NotebookDocumentSync
impl StructuralPartialEq for NotebookDocumentSync
Auto Trait Implementations§
impl Freeze for NotebookDocumentSync
impl RefUnwindSafe for NotebookDocumentSync
impl Send for NotebookDocumentSync
impl Sync for NotebookDocumentSync
impl Unpin for NotebookDocumentSync
impl UnsafeUnpin for NotebookDocumentSync
impl UnwindSafe for NotebookDocumentSync
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