Struct billecta::SwishSettings
source · pub struct SwishSettings {
pub creditor_public_id: Uuid,
pub certificate: Option<File>,
pub password: Option<String>,
pub phone_number: Option<String>,
pub activation_policy: ActivationPolicyType,
pub activation_exceptions: Vec<String>,
pub bookkeep_payments_next_bank_day_on_non_bank_day: bool,
pub not_before: DateTime,
pub not_after: DateTime,
}
Fields§
§creditor_public_id: Uuid
§certificate: Option<File>
§password: Option<String>
§phone_number: Option<String>
§activation_policy: ActivationPolicyType
§activation_exceptions: Vec<String>
§bookkeep_payments_next_bank_day_on_non_bank_day: bool
§not_before: DateTime
§not_after: DateTime
Implementations§
source§impl SwishSettings
impl SwishSettings
Trait Implementations§
source§impl Clone for SwishSettings
impl Clone for SwishSettings
source§fn clone(&self) -> SwishSettings
fn clone(&self) -> SwishSettings
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 SwishSettings
impl Debug for SwishSettings
source§impl<'de> Deserialize<'de> for SwishSettings
impl<'de> Deserialize<'de> for SwishSettings
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 SwishSettings
impl RefUnwindSafe for SwishSettings
impl Send for SwishSettings
impl Sync for SwishSettings
impl Unpin for SwishSettings
impl UnwindSafe for SwishSettings
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