pub struct NestedIdentity {
pub offset: u32,
pub nested: Option<Box<NestedIdentity>>,
pub field: String,
}Fields§
§offset: u32§nested: Option<Box<NestedIdentity>>§field: StringThe path to a field or an array of paths. Some APIs support wildcards in the path, which allows you to select multiple fields.
Implementations§
Source§impl NestedIdentity
impl NestedIdentity
pub fn new(offset: u32, field: String) -> NestedIdentity
Trait Implementations§
Source§impl Clone for NestedIdentity
impl Clone for NestedIdentity
Source§fn clone(&self) -> NestedIdentity
fn clone(&self) -> NestedIdentity
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 NestedIdentity
impl Debug for NestedIdentity
Source§impl Default for NestedIdentity
impl Default for NestedIdentity
Source§fn default() -> NestedIdentity
fn default() -> NestedIdentity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NestedIdentity
impl<'de> Deserialize<'de> for NestedIdentity
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 NestedIdentity
impl PartialEq for NestedIdentity
Source§fn eq(&self, other: &NestedIdentity) -> bool
fn eq(&self, other: &NestedIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NestedIdentity
impl Serialize for NestedIdentity
impl StructuralPartialEq for NestedIdentity
Auto Trait Implementations§
impl Freeze for NestedIdentity
impl RefUnwindSafe for NestedIdentity
impl Send for NestedIdentity
impl Sync for NestedIdentity
impl Unpin for NestedIdentity
impl UnsafeUnpin for NestedIdentity
impl UnwindSafe for NestedIdentity
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