pub struct FileMatchingInfo {
pub file_extensions: Vec<String>,
pub file_names: Vec<String>,
}
Expand description
The plugin file matching information based on the configuration.
Fields§
§file_extensions: Vec<String>
The file extensions this plugin should format.
file_names: Vec<String>
The file names this plugin should format.
Trait Implementations§
Source§impl Clone for FileMatchingInfo
impl Clone for FileMatchingInfo
Source§fn clone(&self) -> FileMatchingInfo
fn clone(&self) -> FileMatchingInfo
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 FileMatchingInfo
impl Debug for FileMatchingInfo
Source§impl<'de> Deserialize<'de> for FileMatchingInfo
impl<'de> Deserialize<'de> for FileMatchingInfo
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 FileMatchingInfo
impl PartialEq for FileMatchingInfo
Source§impl Serialize for FileMatchingInfo
impl Serialize for FileMatchingInfo
impl Eq for FileMatchingInfo
impl StructuralPartialEq for FileMatchingInfo
Auto Trait Implementations§
impl Freeze for FileMatchingInfo
impl RefUnwindSafe for FileMatchingInfo
impl Send for FileMatchingInfo
impl Sync for FileMatchingInfo
impl Unpin for FileMatchingInfo
impl UnwindSafe for FileMatchingInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.