pub struct ParseRule {
pub name: String,
pub selector: String,
pub attribute: Option<String>,
pub multiple: bool,
pub required: bool,
pub transform: Option<String>,
}
Fields§
§name: String
§selector: String
§attribute: Option<String>
§multiple: bool
§required: bool
§transform: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ParseRule
impl<'de> Deserialize<'de> for ParseRule
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
Auto Trait Implementations§
impl Freeze for ParseRule
impl RefUnwindSafe for ParseRule
impl Send for ParseRule
impl Sync for ParseRule
impl Unpin for ParseRule
impl UnwindSafe for ParseRule
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