pub struct PixTransaction {Show 20 fields
pub id: String,
pub amount_cents: i64,
pub created_at: u64,
pub description: Option<String>,
pub end_to_end_id: String,
pub flow: i32,
pub method: i32,
pub status: i32,
pub receiver_name: String,
pub receiver_tax_id: String,
pub receiver_bank_code: String,
pub receiver_branch_code: String,
pub receiver_account_number: String,
pub receiver_account_type: i32,
pub sender_name: String,
pub sender_tax_id: String,
pub sender_bank_code: String,
pub sender_branch_code: String,
pub sender_account_number: String,
pub sender_account_type: i32,
}Fields§
§id: String§amount_cents: i64§created_at: u64§description: Option<String>§end_to_end_id: String§flow: i32§method: i32§status: i32§receiver_name: String§receiver_tax_id: String§receiver_bank_code: String§receiver_branch_code: String§receiver_account_number: String§receiver_account_type: i32§sender_name: String§sender_tax_id: String§sender_bank_code: String§sender_branch_code: String§sender_account_number: String§sender_account_type: i32Implementations§
Source§impl PixTransaction
impl PixTransaction
Sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Returns the value of description, or the default value if description is unset.
Sourcepub fn flow(&self) -> PixTransactionFlow
pub fn flow(&self) -> PixTransactionFlow
Returns the enum value of flow, or the default if the field is set to an invalid enum value.
Sourcepub fn set_flow(&mut self, value: PixTransactionFlow)
pub fn set_flow(&mut self, value: PixTransactionFlow)
Sets flow to the provided enum value.
Sourcepub fn method(&self) -> PixTransactionMethod
pub fn method(&self) -> PixTransactionMethod
Returns the enum value of method, or the default if the field is set to an invalid enum value.
Sourcepub fn set_method(&mut self, value: PixTransactionMethod)
pub fn set_method(&mut self, value: PixTransactionMethod)
Sets method to the provided enum value.
Sourcepub fn status(&self) -> PixTransactionStatus
pub fn status(&self) -> PixTransactionStatus
Returns the enum value of status, or the default if the field is set to an invalid enum value.
Sourcepub fn set_status(&mut self, value: PixTransactionStatus)
pub fn set_status(&mut self, value: PixTransactionStatus)
Sets status to the provided enum value.
Sourcepub fn receiver_account_type(&self) -> PixAccountType
pub fn receiver_account_type(&self) -> PixAccountType
Returns the enum value of receiver_account_type, or the default if the field is set to an invalid enum value.
Sourcepub fn set_receiver_account_type(&mut self, value: PixAccountType)
pub fn set_receiver_account_type(&mut self, value: PixAccountType)
Sets receiver_account_type to the provided enum value.
Sourcepub fn sender_account_type(&self) -> PixAccountType
pub fn sender_account_type(&self) -> PixAccountType
Returns the enum value of sender_account_type, or the default if the field is set to an invalid enum value.
Sourcepub fn set_sender_account_type(&mut self, value: PixAccountType)
pub fn set_sender_account_type(&mut self, value: PixAccountType)
Sets sender_account_type to the provided enum value.
Trait Implementations§
Source§impl Clone for PixTransaction
impl Clone for PixTransaction
Source§fn clone(&self) -> PixTransaction
fn clone(&self) -> PixTransaction
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PixTransaction
impl Debug for PixTransaction
Source§impl Default for PixTransaction
impl Default for PixTransaction
Source§impl Message for PixTransaction
impl Message for PixTransaction
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for PixTransaction
impl PartialEq for PixTransaction
impl StructuralPartialEq for PixTransaction
Auto Trait Implementations§
impl Freeze for PixTransaction
impl RefUnwindSafe for PixTransaction
impl Send for PixTransaction
impl Sync for PixTransaction
impl Unpin for PixTransaction
impl UnsafeUnpin for PixTransaction
impl UnwindSafe for PixTransaction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request