pub struct VotingRepresentativeResponseDto {
pub unit_id: String,
pub owner_id: String,
pub unit_owner_id: String,
pub is_voting_representative: bool,
}Expand description
Response DTO for a voting representative designation (#848).
Fields§
§unit_id: String§owner_id: String§unit_owner_id: String§is_voting_representative: boolTrait Implementations§
Source§impl ComposeSchema for VotingRepresentativeResponseDto
impl ComposeSchema for VotingRepresentativeResponseDto
Auto Trait Implementations§
impl Freeze for VotingRepresentativeResponseDto
impl RefUnwindSafe for VotingRepresentativeResponseDto
impl Send for VotingRepresentativeResponseDto
impl Sync for VotingRepresentativeResponseDto
impl Unpin for VotingRepresentativeResponseDto
impl UnsafeUnpin for VotingRepresentativeResponseDto
impl UnwindSafe for VotingRepresentativeResponseDto
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§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.