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