pub struct NestedType {
pub name: String,
pub object: ObjectType,
}Expand description
Extracted nested object (for non-flat mode)
Fields§
§name: String§object: ObjectTypeImplementations§
Source§impl NestedType
impl NestedType
pub fn new(name: impl Into<String>, object: ObjectType) -> Self
Trait Implementations§
Source§impl Clone for NestedType
impl Clone for NestedType
Source§fn clone(&self) -> NestedType
fn clone(&self) -> NestedType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NestedType
impl RefUnwindSafe for NestedType
impl Send for NestedType
impl Sync for NestedType
impl Unpin for NestedType
impl UnwindSafe for NestedType
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