pub struct AtomService {
pub namespace_app: String,
pub namespace_atom: Option<String>,
pub namespace_m: String,
pub namespace_sap: String,
pub language: String,
pub base_url: String,
pub workspace: AtomWorkspace,
pub links: Vec<AtomLink>,
}
Expand description
Represents an Atom service document <app:service>
WARNING:quick-xml
strips namespace identifiers from XML tag names, and from certain attribute names!
Tag names such as <app:service>
and <atom:title>
will appear simply as <service>
and <title>
.
Attribute names prefixed with xml
such as xml:lang
or xml:base
will be modified to lang
and base
, but
xmlns:app
or xmlns:atom
will appear without modification
Fields§
§namespace_app: String
§namespace_atom: Option<String>
§namespace_m: String
§namespace_sap: String
§language: String
§base_url: String
§workspace: AtomWorkspace
§links: Vec<AtomLink>
Trait Implementations§
Source§impl Debug for AtomService
impl Debug for AtomService
Source§impl<'de> Deserialize<'de> for AtomService
impl<'de> Deserialize<'de> for AtomService
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
Source§impl FromStr for AtomService
impl FromStr for AtomService
Auto Trait Implementations§
impl Freeze for AtomService
impl RefUnwindSafe for AtomService
impl Send for AtomService
impl Sync for AtomService
impl Unpin for AtomService
impl UnwindSafe for AtomService
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