pub struct Entry<T> {
pub etag: Option<String>,
pub id: String,
pub title: String,
pub updated: String,
pub category: EntryCategory,
pub links: Vec<AtomLink>,
pub content: Content<T>,
pub properties: Option<T>,
}
Expand description
Represents an Atom <entry>
of type <T>
where <T>
is the entity type of this particular entity set
§Child Nodes
1:1 id
1:1 title
1:1 updated
1:1 category
1:n link
1:1 content
Fields§
§etag: Option<String>
§id: String
§title: String
§updated: String
§category: EntryCategory
§links: Vec<AtomLink>
§content: Content<T>
§properties: Option<T>
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for Entry<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Entry<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 Entry<T>where
T: DeserializeOwned,
impl<T> FromStr for Entry<T>where
T: DeserializeOwned,
Auto Trait Implementations§
impl<T> Freeze for Entry<T>where
T: Freeze,
impl<T> RefUnwindSafe for Entry<T>where
T: RefUnwindSafe,
impl<T> Send for Entry<T>where
T: Send,
impl<T> Sync for Entry<T>where
T: Sync,
impl<T> Unpin for Entry<T>where
T: Unpin,
impl<T> UnwindSafe for Entry<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