pub struct OwnerContributionResponse {Show 16 fields
pub id: Uuid,
pub organization_id: Uuid,
pub owner_id: Uuid,
pub unit_id: Option<Uuid>,
pub description: String,
pub amount: f64,
pub account_code: Option<String>,
pub contribution_type: ContributionType,
pub contribution_date: DateTime<Utc>,
pub payment_date: Option<DateTime<Utc>>,
pub payment_method: Option<ContributionPaymentMethod>,
pub payment_reference: Option<String>,
pub payment_status: ContributionPaymentStatus,
pub notes: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
DTO for owner contribution response
Fields§
§id: Uuid§organization_id: Uuid§owner_id: Uuid§unit_id: Option<Uuid>§description: String§amount: f64§account_code: Option<String>§contribution_type: ContributionType§contribution_date: DateTime<Utc>§payment_date: Option<DateTime<Utc>>§payment_method: Option<ContributionPaymentMethod>§payment_reference: Option<String>§payment_status: ContributionPaymentStatus§notes: Option<String>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Debug for OwnerContributionResponse
impl Debug for OwnerContributionResponse
Source§impl From<OwnerContribution> for OwnerContributionResponse
impl From<OwnerContribution> for OwnerContributionResponse
Source§fn from(contribution: OwnerContribution) -> Self
fn from(contribution: OwnerContribution) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OwnerContributionResponse
impl RefUnwindSafe for OwnerContributionResponse
impl Send for OwnerContributionResponse
impl Sync for OwnerContributionResponse
impl Unpin for OwnerContributionResponse
impl UnwindSafe for OwnerContributionResponse
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.