Struct embedder_traits::FilterPattern
source · pub struct FilterPattern(pub String);
Expand description
Filter for file selection;
the String
content is expected to be extension (e.g, “doc”, without the prefixing “.”)
Tuple Fields§
§0: String
Trait Implementations§
source§impl Clone for FilterPattern
impl Clone for FilterPattern
source§fn clone(&self) -> FilterPattern
fn clone(&self) -> FilterPattern
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 FilterPattern
impl Debug for FilterPattern
source§impl<'de> Deserialize<'de> for FilterPattern
impl<'de> Deserialize<'de> for FilterPattern
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