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 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 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<NotebookDocumentFilter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NotebookDocumentFilter, <__D as Deserializer<'de>>::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§impl Serialize for NotebookDocumentFilter
impl Serialize for NotebookDocumentFilter
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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