pub enum NotebookDocumentFilter {
ByType {
notebook_type: String,
scheme: Option<String>,
pattern: Option<String>,
},
ByScheme {
notebook_type: Option<String>,
scheme: String,
pattern: Option<String>,
},
ByPattern {
notebook_type: Option<String>,
scheme: Option<String>,
pattern: String,
},
}
Expand description
A notebook document filter denotes a notebook document by different properties.
@since 3.17.0
Variants§
Trait Implementations§
source§impl Clone for NotebookDocumentFilter
impl Clone for NotebookDocumentFilter
source§fn clone(&self) -> NotebookDocumentFilter
fn clone(&self) -> NotebookDocumentFilter
Returns a copy 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 Debug for NotebookDocumentFilter
impl Debug for NotebookDocumentFilter
source§impl<'de> Deserialize<'de> for NotebookDocumentFilter
impl<'de> Deserialize<'de> for NotebookDocumentFilter
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 NotebookDocumentFilter
impl PartialEq for NotebookDocumentFilter
source§fn eq(&self, other: &NotebookDocumentFilter) -> bool
fn eq(&self, other: &NotebookDocumentFilter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NotebookDocumentFilter
impl Serialize for NotebookDocumentFilter
impl Eq for NotebookDocumentFilter
impl StructuralPartialEq for NotebookDocumentFilter
Auto Trait Implementations§
impl Freeze for NotebookDocumentFilter
impl RefUnwindSafe for NotebookDocumentFilter
impl Send for NotebookDocumentFilter
impl Sync for NotebookDocumentFilter
impl Unpin for NotebookDocumentFilter
impl UnwindSafe for NotebookDocumentFilter
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