pub struct NotebookDocumentFilterPattern {
pub notebook_type: Option<String>,
pub scheme: Option<String>,
pub pattern: GlobPattern,
}Expand description
A notebook document filter where pattern is required field.
@since 3.18.0
Fields§
§notebook_type: Option<String>The type of the enclosing notebook.
scheme: Option<String>A Uri {@link Uri.scheme scheme}, like file or untitled.
pattern: GlobPatternA glob pattern.
Trait Implementations§
Source§impl Clone for NotebookDocumentFilterPattern
impl Clone for NotebookDocumentFilterPattern
Source§fn clone(&self) -> NotebookDocumentFilterPattern
fn clone(&self) -> NotebookDocumentFilterPattern
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<'de> Deserialize<'de> for NotebookDocumentFilterPattern
impl<'de> Deserialize<'de> for NotebookDocumentFilterPattern
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
impl Eq for NotebookDocumentFilterPattern
Source§impl From<NotebookDocumentFilterPattern> for NotebookDocumentFilter
impl From<NotebookDocumentFilterPattern> for NotebookDocumentFilter
Source§fn from(value: NotebookDocumentFilterPattern) -> Self
fn from(value: NotebookDocumentFilterPattern) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for NotebookDocumentFilterPattern
Auto Trait Implementations§
impl Freeze for NotebookDocumentFilterPattern
impl RefUnwindSafe for NotebookDocumentFilterPattern
impl Send for NotebookDocumentFilterPattern
impl Sync for NotebookDocumentFilterPattern
impl Unpin for NotebookDocumentFilterPattern
impl UnsafeUnpin for NotebookDocumentFilterPattern
impl UnwindSafe for NotebookDocumentFilterPattern
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