pub struct Feed<T> {
pub namespace: Option<String>,
pub namespace_m: String,
pub namespace_d: String,
pub xml_base: Option<String>,
pub id: String,
pub title: String,
pub updated: String,
pub author: Author,
pub links: Vec<AtomLink>,
pub entries: Option<Vec<Entry<T>>>,
}
Expand description
Represents an Atom <feed>
§Child Nodes
1:1 author
1:1 link
0:n entry
WARNING:quick-xml
strips the namespace from both XML tag and attribute names!
Fields§
§namespace: Option<String>
§namespace_m: String
§namespace_d: String
§xml_base: Option<String>
§id: String
§title: String
§updated: String
§links: Vec<AtomLink>
§entries: Option<Vec<Entry<T>>>
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for Feed<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Feed<T>where
T: Deserialize<'de>,
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<T> FromStr for Feed<T>where
T: DeserializeOwned,
impl<T> FromStr for Feed<T>where
T: DeserializeOwned,
Auto Trait Implementations§
impl<T> Freeze for Feed<T>
impl<T> RefUnwindSafe for Feed<T>where
T: RefUnwindSafe,
impl<T> Send for Feed<T>where
T: Send,
impl<T> Sync for Feed<T>where
T: Sync,
impl<T> Unpin for Feed<T>where
T: Unpin,
impl<T> UnwindSafe for Feed<T>where
T: UnwindSafe,
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