pub struct Person {
pub name: String,
pub uri: Option<String>,
pub email: Option<String>,
}
Expand description
Represents an author, contributor etc.
Fields§
§name: String
Atom: human-readable name for the person. JSON Feed: human-readable name for the person.
uri: Option<String>
Atom: home page for the person. JSON Feed: link to media (Twitter etc) for the person
email: Option<String>
Atom: An email address for the person.
Implementations§
Trait Implementations§
impl Eq for Person
impl StructuralPartialEq for Person
Auto Trait Implementations§
impl Freeze for Person
impl RefUnwindSafe for Person
impl Send for Person
impl Sync for Person
impl Unpin for Person
impl UnwindSafe for Person
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)