pub struct Signature {
pub meta: Bo4eMeta,
pub name: Option<String>,
pub location: Option<String>,
pub date: Option<String>,
}Expand description
Digital signature for contracts, offers, etc.
German: Unterschrift
§Example
use bo4e_core::com::Signature;
let signature = Signature {
name: Some("Max Mustermann".to_string()),
location: Some("Köln".to_string()),
date: Some("2024-01-15T10:30:00+01:00".to_string()),
..Default::default()
};Fields§
§meta: Bo4eMetaBO4E metadata
name: Option<String>Name of the signatory (Name)
location: Option<String>Location where the signature was made (Ort)
date: Option<String>Date of the signature (Datum) - ISO 8601 datetime string
Trait Implementations§
Source§impl Bo4eObject for Signature
impl Bo4eObject for Signature
Source§fn type_name_german() -> &'static str
fn type_name_german() -> &'static str
Returns the German type name as used in the
_typ field. Read moreSource§fn type_name_english() -> &'static str
fn type_name_english() -> &'static str
Returns the English type name. Read more
Source§impl<'de> Deserialize<'de> for Signature
impl<'de> Deserialize<'de> for Signature
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
impl StructuralPartialEq for Signature
Auto Trait Implementations§
impl Freeze for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnsafeUnpin for Signature
impl UnwindSafe for Signature
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