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<'de> Deserialize<'de> for Signature
impl<'de> Deserialize<'de> for Signature
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
source§impl Element for Signature
impl Element for Signature
fn has_id(&self) -> bool
fn id(&self) -> &Option<String>
fn set_id<T: Into<String>>(self, id: T) -> Self
fn has_extension(&self) -> bool
fn extension(&self) -> &Option<Vec<Extension>>
fn set_extension(self, ext: Vec<Extension>) -> Self
fn add_extension(self, ext: Extension) -> Self
Auto Trait Implementations§
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