Struct rss::Guid [−][src]
Expand description
Represents the GUID of an RSS item.
Fields
value: String
The value of the GUID.
permalink: bool
Indicates if the GUID is a permalink.
Implementations
Return whether this GUID is a permalink.
Examples
use rss::Guid;
let mut guid = Guid::default();
guid.set_permalink(true);
assert!(guid.is_permalink());
Set whether this GUID is a permalink.
Examples
use rss::Guid;
let mut guid = Guid::default();
guid.set_permalink(true);
Return the value of this GUID.
Examples
use rss::Guid;
let mut guid = Guid::default();
guid.set_value("00000000-0000-0000-0000-00000000000");
assert_eq!(guid.value(), "00000000-0000-0000-0000-00000000000");
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Guid
impl UnwindSafe for Guid
Blanket Implementations
Mutably borrows from an owned value. Read more