pub struct OwnerWithUnitsDto {
pub owner_id: String,
pub owner_name: String,
pub owner_email: String,
pub units: Vec<UnitOwnerWithDetailsDto>,
}Expand description
Response DTO for an owner with their units
Fields§
§owner_id: String§owner_name: String§owner_email: String§units: Vec<UnitOwnerWithDetailsDto>Trait Implementations§
Source§impl Debug for OwnerWithUnitsDto
impl Debug for OwnerWithUnitsDto
Auto Trait Implementations§
impl Freeze for OwnerWithUnitsDto
impl RefUnwindSafe for OwnerWithUnitsDto
impl Send for OwnerWithUnitsDto
impl Sync for OwnerWithUnitsDto
impl Unpin for OwnerWithUnitsDto
impl UnwindSafe for OwnerWithUnitsDto
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
§impl<T> Chain<T> for T
impl<T> Chain<T> for T
§impl<T> Fake for T
impl<T> Fake for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.