pub struct PostId {
pub title: String,
pub url: String,
pub meta: String,
}
Expand description
Represents a post with its title, URL, and metadata
Fields§
§title: String
Post title
url: String
Post URL
meta: String
Serialized metadata string
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PostId
impl<'de> Deserialize<'de> for PostId
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 PostId
impl StructuralPartialEq for PostId
Auto Trait Implementations§
impl Freeze for PostId
impl RefUnwindSafe for PostId
impl Send for PostId
impl Sync for PostId
impl Unpin for PostId
impl UnwindSafe for PostId
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