#[non_exhaustive]pub enum MessageXml {
ServerBusy(ServerBusy),
Other(MessageXmlElements),
}Expand description
Semi-structured data for diagnosing or responding to an EWS error.
Because the possible contents of this field are not documented, this may not
precisely represent all potential messages. Known fields that are relevant
for programmatic error responses should be provided as additional variants
of this enum. All other responses are represented via the Other variant.
See https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/messagexml
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ServerBusy(ServerBusy)
Other(MessageXmlElements)
Any elements not handled above, for debugging and troubleshooting purposes.
Trait Implementations§
Source§impl Clone for MessageXml
impl Clone for MessageXml
Source§impl Debug for MessageXml
impl Debug for MessageXml
Source§impl<'de> Deserialize<'de> for MessageXml
impl<'de> Deserialize<'de> for MessageXml
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MessageXml
Source§impl PartialEq for MessageXml
impl PartialEq for MessageXml
impl StructuralPartialEq for MessageXml
Auto Trait Implementations§
impl Freeze for MessageXml
impl RefUnwindSafe for MessageXml
impl Send for MessageXml
impl Sync for MessageXml
impl Unpin for MessageXml
impl UnsafeUnpin for MessageXml
impl UnwindSafe for MessageXml
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