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 0.39 strips certain namespace identifiers from XML element names, but preserves
namespaces in attribute names!
Element names such as <app:service> and <atom:title> will appear simply as <service> and <title>.
Element attribute names such as xml:lang or xml:base are deserialized to @xml:base.
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 UnsafeUnpin 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