pub struct StartTls {
pub required: bool,
}
Expand description
Stream feature for StartTLS
Fields§
§required: bool
Marker for mandatory StartTLS.
Trait Implementations§
Source§impl AsXml for StartTls
impl AsXml for StartTls
Source§impl FromXml for StartTls
impl FromXml for StartTls
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 StartTls
impl TryFrom<Element> for StartTls
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for StartTls
Auto Trait Implementations§
impl Freeze for StartTls
impl RefUnwindSafe for StartTls
impl Send for StartTls
impl Sync for StartTls
impl Unpin for StartTls
impl UnwindSafe for StartTls
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