pub struct Guid { /* private fields */ }
Expand description
Represents the GUID of an RSS item.
Implementations
sourceimpl Guid
impl Guid
sourcepub fn is_permalink(&self) -> bool
pub fn is_permalink(&self) -> bool
Return whether this GUID is a permalink.
Examples
use rss::Guid;
let mut guid = Guid::default();
guid.set_permalink(true);
assert!(guid.is_permalink());
sourcepub fn set_permalink<V>(&mut self, permalink: V)where
V: Into<bool>,
pub fn set_permalink<V>(&mut self, permalink: V)where
V: Into<bool>,
Set whether this GUID is a permalink.
Examples
use rss::Guid;
let mut guid = Guid::default();
guid.set_permalink(true);
Trait Implementations
impl StructuralPartialEq for Guid
Auto Trait Implementations
impl RefUnwindSafe for Guid
impl Send for Guid
impl Sync for Guid
impl Unpin for Guid
impl UnwindSafe for Guid
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more