pub struct NotebookDocumentSyncRegistrationOptions {
pub static_registration_options: StaticRegistrationOptions,
pub notebook_document_sync_options: NotebookDocumentSyncOptions,
}Expand description
Registration options specific to a notebook.
@since 3.17.0
Fields§
§static_registration_options: StaticRegistrationOptions§notebook_document_sync_options: NotebookDocumentSyncOptionsImplementations§
Source§impl NotebookDocumentSyncRegistrationOptions
impl NotebookDocumentSyncRegistrationOptions
pub const fn new( static_registration_options: StaticRegistrationOptions, notebook_document_sync_options: NotebookDocumentSyncOptions, ) -> Self
Trait Implementations§
Source§impl Clone for NotebookDocumentSyncRegistrationOptions
impl Clone for NotebookDocumentSyncRegistrationOptions
Source§fn clone(&self) -> NotebookDocumentSyncRegistrationOptions
fn clone(&self) -> NotebookDocumentSyncRegistrationOptions
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 NotebookDocumentSyncRegistrationOptions
impl Default for NotebookDocumentSyncRegistrationOptions
Source§fn default() -> NotebookDocumentSyncRegistrationOptions
fn default() -> NotebookDocumentSyncRegistrationOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotebookDocumentSyncRegistrationOptions
impl<'de> Deserialize<'de> for NotebookDocumentSyncRegistrationOptions
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<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 PartialEq for NotebookDocumentSyncRegistrationOptions
impl PartialEq for NotebookDocumentSyncRegistrationOptions
Source§fn eq(&self, other: &NotebookDocumentSyncRegistrationOptions) -> bool
fn eq(&self, other: &NotebookDocumentSyncRegistrationOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NotebookDocumentSyncRegistrationOptions
impl StructuralPartialEq for NotebookDocumentSyncRegistrationOptions
Auto Trait Implementations§
impl Freeze for NotebookDocumentSyncRegistrationOptions
impl RefUnwindSafe for NotebookDocumentSyncRegistrationOptions
impl Send for NotebookDocumentSyncRegistrationOptions
impl Sync for NotebookDocumentSyncRegistrationOptions
impl Unpin for NotebookDocumentSyncRegistrationOptions
impl UnsafeUnpin for NotebookDocumentSyncRegistrationOptions
impl UnwindSafe for NotebookDocumentSyncRegistrationOptions
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