pub struct PathWithRules {
pub path: Option<Box<PathResponse>>,
pub rules: Option<Vec<RuleResponse>>,
}Expand description
PathWithRules : A path together with all of its rules.
Fields§
§path: Option<Box<PathResponse>>§rules: Option<Vec<RuleResponse>>Implementations§
Source§impl PathWithRules
impl PathWithRules
Sourcepub fn new() -> PathWithRules
pub fn new() -> PathWithRules
A path together with all of its rules.
Trait Implementations§
Source§impl Clone for PathWithRules
impl Clone for PathWithRules
Source§fn clone(&self) -> PathWithRules
fn clone(&self) -> PathWithRules
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 PathWithRules
impl Debug for PathWithRules
Source§impl Default for PathWithRules
impl Default for PathWithRules
Source§fn default() -> PathWithRules
fn default() -> PathWithRules
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PathWithRules
impl<'de> Deserialize<'de> for PathWithRules
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 PathWithRules
impl PartialEq for PathWithRules
Source§impl Serialize for PathWithRules
impl Serialize for PathWithRules
impl StructuralPartialEq for PathWithRules
Auto Trait Implementations§
impl Freeze for PathWithRules
impl RefUnwindSafe for PathWithRules
impl Send for PathWithRules
impl Sync for PathWithRules
impl Unpin for PathWithRules
impl UnsafeUnpin for PathWithRules
impl UnwindSafe for PathWithRules
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