pub struct BodyPathRule {
pub path: Vec<String>,
pub target: BodyTarget,
pub access: BodyAccess,
}Fields§
§path: Vec<String>§target: BodyTarget§access: BodyAccessImplementations§
Source§impl BodyPathRule
impl BodyPathRule
pub fn new( path: impl IntoIterator<Item = impl Into<String>>, target: BodyTarget, access: BodyAccess, ) -> Self
Trait Implementations§
Source§impl Clone for BodyPathRule
impl Clone for BodyPathRule
Source§fn clone(&self) -> BodyPathRule
fn clone(&self) -> BodyPathRule
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 Debug for BodyPathRule
impl Debug for BodyPathRule
Source§impl<'de> Deserialize<'de> for BodyPathRule
impl<'de> Deserialize<'de> for BodyPathRule
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 BodyPathRule
Source§impl PartialEq for BodyPathRule
impl PartialEq for BodyPathRule
Source§impl Serialize for BodyPathRule
impl Serialize for BodyPathRule
impl StructuralPartialEq for BodyPathRule
Auto Trait Implementations§
impl Freeze for BodyPathRule
impl RefUnwindSafe for BodyPathRule
impl Send for BodyPathRule
impl Sync for BodyPathRule
impl Unpin for BodyPathRule
impl UnsafeUnpin for BodyPathRule
impl UnwindSafe for BodyPathRule
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