pub struct Signature {
pub id: Option<Id>,
pub extension: Option<Vec<Extension>>,
pub type_: Option<Vec<Coding>>,
pub when: Option<InstantDt>,
pub who: Option<Reference>,
pub on_behalf_of: Option<Reference>,
pub target_format: Option<CodeDt>,
pub sig_format: Option<CodeDt>,
pub data: Option<Base64BinaryDt>,
}
Fields§
§id: Option<Id>
Unique id for inter-element referencing
extension: Option<Vec<Extension>>
Additional content defined by implementations
type_: Option<Vec<Coding>>
Indication of the reason the entity signed the object(s)
when: Option<InstantDt>
When the signature was created
who: Option<Reference>
Who signed
on_behalf_of: Option<Reference>
The party represented
target_format: Option<CodeDt>
The technical format of the signed resources
sig_format: Option<CodeDt>
The technical format of the signature
data: Option<Base64BinaryDt>
The actual signature content (XML DigSig. JWS, picture, etc.)
Implementations§
Source§impl Signature
impl Signature
pub fn set_type_(self, v: Vec<Coding>) -> Self
pub fn add_type_(self, v: Coding) -> Self
pub fn set_when<T: Into<InstantDt>>(self, v: T) -> Self
pub fn set_who(self, v: Reference) -> Self
pub fn set_on_behalf_of(self, v: Reference) -> Self
pub fn set_target_format<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_sig_format<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_data<T: Into<Base64BinaryDt>>(self, v: T) -> Self
Trait Implementations§
Source§impl Convert for Signature
impl Convert for Signature
fn to_integer(&self) -> Result<Integer>
fn to_decimal(&self) -> Result<Decimal>
fn to_strings(&self) -> Result<String>
fn to_datetime(&self) -> Result<DateTime>
fn to_boolean(&self) -> Result<Boolean>
Source§impl<'de> Deserialize<'de> for Signature
impl<'de> Deserialize<'de> for Signature
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
Source§impl Executor for Signature
impl Executor for Signature
fn element(&self, symbol: &String, index: &Option<usize>) -> Result<Collection>
fn to_collection(&self, index: &Option<usize>) -> Collection
fn child(&self, _index: usize) -> Result<Collection>
impl DataType 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 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