pub struct PropertyPath(/* private fields */);Expand description
Dot-separated property path.
Implementations§
Source§impl PropertyPath
impl PropertyPath
Sourcepub fn new(parts: Vec<PropertyName>) -> Self
pub fn new(parts: Vec<PropertyName>) -> Self
Creates a property path from names.
Sourcepub fn parts(&self) -> &[PropertyName]
pub fn parts(&self) -> &[PropertyName]
Returns path parts.
Trait Implementations§
Source§impl Clone for PropertyPath
impl Clone for PropertyPath
Source§fn clone(&self) -> PropertyPath
fn clone(&self) -> PropertyPath
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 PropertyPath
impl Debug for PropertyPath
Source§impl<'de> Deserialize<'de> for PropertyPath
impl<'de> Deserialize<'de> for PropertyPath
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 From<PropertyPath> for Vec<String>
impl From<PropertyPath> for Vec<String>
Source§fn from(value: PropertyPath) -> Self
fn from(value: PropertyPath) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PropertyPath
impl PartialEq for PropertyPath
Source§fn eq(&self, other: &PropertyPath) -> bool
fn eq(&self, other: &PropertyPath) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PropertyPath
impl Serialize for PropertyPath
impl Eq for PropertyPath
impl StructuralPartialEq for PropertyPath
Auto Trait Implementations§
impl Freeze for PropertyPath
impl RefUnwindSafe for PropertyPath
impl Send for PropertyPath
impl Sync for PropertyPath
impl Unpin for PropertyPath
impl UnsafeUnpin for PropertyPath
impl UnwindSafe for PropertyPath
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