pub struct CreateTransaction {
pub type: String,
pub date: String,
pub amount: String,
pub description: String,
pub source_id: Option<String>,
pub source_name: Option<String>,
pub destination_id: Option<String>,
pub destination_name: Option<String>,
}Fields§
§type: String§date: String§amount: String§description: String§source_id: Option<String>§source_name: Option<String>§destination_id: Option<String>§destination_name: Option<String>Trait Implementations§
Source§impl Clone for CreateTransaction
impl Clone for CreateTransaction
Source§fn clone(&self) -> CreateTransaction
fn clone(&self) -> CreateTransaction
Returns a copy 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 moreSource§impl Debug for CreateTransaction
impl Debug for CreateTransaction
Source§impl<'de> Deserialize<'de> for CreateTransaction
impl<'de> Deserialize<'de> for CreateTransaction
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
Auto Trait Implementations§
impl Freeze for CreateTransaction
impl RefUnwindSafe for CreateTransaction
impl Send for CreateTransaction
impl Sync for CreateTransaction
impl Unpin for CreateTransaction
impl UnwindSafe for CreateTransaction
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