pub struct PubKey {
pub date: Option<DateTime>,
pub data: PubKeyData,
}
Expand description
Pubkey element to be used in PubSub publish payloads.
Fields§
§date: Option<DateTime>
Last updated date
data: PubKeyData
Public key as base64 data
Trait Implementations§
Source§impl AsXml for PubKey
impl AsXml for PubKey
Source§impl FromXml for PubKey
impl FromXml for PubKey
Source§fn from_events(
name: QName,
attrs: AttrMap,
ctx: &Context<'_>,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ctx: &Context<'_>, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
Source§fn xml_name_matcher() -> XmlNameMatcher<'static>
fn xml_name_matcher() -> XmlNameMatcher<'static>
Return a predicate which determines if
Self
may be parsed from
a given XML element. Read moreSource§impl TryFrom<Element> for PubKey
impl TryFrom<Element> for PubKey
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl PubSubPayload for PubKey
impl StructuralPartialEq for PubKey
Auto Trait Implementations§
impl Freeze for PubKey
impl RefUnwindSafe for PubKey
impl Send for PubKey
impl Sync for PubKey
impl Unpin for PubKey
impl UnwindSafe for PubKey
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