pub struct SignedPreKeyPublic {
    pub signed_pre_key_id: Option<u32>,
    pub data: Vec<u8>,
}Expand description
SignedPreKey public key Part of a device’s bundle
Fields§
§signed_pre_key_id: Option<u32>SignedPreKey id
data: Vec<u8>Serialized PublicKey
Trait Implementations§
Source§impl AsXml for SignedPreKeyPublic
 
impl AsXml for SignedPreKeyPublic
Source§type ItemIter<'xso_proc_as_xml_iter_lifetime> = SignedPreKeyPublicAsXmlIterator<'xso_proc_as_xml_iter_lifetime>
 
type ItemIter<'xso_proc_as_xml_iter_lifetime> = SignedPreKeyPublicAsXmlIterator<'xso_proc_as_xml_iter_lifetime>
The iterator type. Read more
Source§impl Clone for SignedPreKeyPublic
 
impl Clone for SignedPreKeyPublic
Source§fn clone(&self) -> SignedPreKeyPublic
 
fn clone(&self) -> SignedPreKeyPublic
Returns a duplicate 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 SignedPreKeyPublic
 
impl Debug for SignedPreKeyPublic
Source§impl From<&SignedPreKeyPublic> for Element
 
impl From<&SignedPreKeyPublic> for Element
Source§fn from(other: &SignedPreKeyPublic) -> Self
 
fn from(other: &SignedPreKeyPublic) -> Self
Converts to this type from the input type.
Source§impl From<SignedPreKeyPublic> for Element
 
impl From<SignedPreKeyPublic> for Element
Source§fn from(other: SignedPreKeyPublic) -> Self
 
fn from(other: SignedPreKeyPublic) -> Self
Converts to this type from the input type.
Source§impl FromXml for SignedPreKeyPublic
 
impl FromXml for SignedPreKeyPublic
Source§type Builder = SignedPreKeyPublicFromXmlBuilder
 
type Builder = SignedPreKeyPublicFromXmlBuilder
A builder type used to construct the element. Read more
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 PartialEq for SignedPreKeyPublic
 
impl PartialEq for SignedPreKeyPublic
Source§impl TryFrom<Element> for SignedPreKeyPublic
 
impl TryFrom<Element> for SignedPreKeyPublic
Source§type Error = FromElementError
 
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for SignedPreKeyPublic
Auto Trait Implementations§
impl Freeze for SignedPreKeyPublic
impl RefUnwindSafe for SignedPreKeyPublic
impl Send for SignedPreKeyPublic
impl Sync for SignedPreKeyPublic
impl Unpin for SignedPreKeyPublic
impl UnwindSafe for SignedPreKeyPublic
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