Struct billecta::MailDelivery
source · pub struct MailDelivery {
pub creditor_public_id: Uuid,
pub file: Option<File>,
pub appendixes: Vec<Vec<u8>>,
pub send_as_priority_mail: Option<bool>,
pub send_with_color: Option<bool>,
pub is_simplex: Option<bool>,
pub postage_type: PostageType,
}
Fields§
§creditor_public_id: Uuid
§file: Option<File>
§appendixes: Vec<Vec<u8>>
§send_as_priority_mail: Option<bool>
§send_with_color: Option<bool>
§is_simplex: Option<bool>
§postage_type: PostageType
Implementations§
source§impl MailDelivery
impl MailDelivery
pub fn new(creditor_public_id: Uuid, postage_type: PostageType) -> Self
Trait Implementations§
source§impl Clone for MailDelivery
impl Clone for MailDelivery
source§fn clone(&self) -> MailDelivery
fn clone(&self) -> MailDelivery
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 MailDelivery
impl Debug for MailDelivery
source§impl<'de> Deserialize<'de> for MailDelivery
impl<'de> Deserialize<'de> for MailDelivery
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 MailDelivery
impl RefUnwindSafe for MailDelivery
impl Send for MailDelivery
impl Sync for MailDelivery
impl Unpin for MailDelivery
impl UnwindSafe for MailDelivery
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