Struct xpcom::interfaces::nsIFeedPerson
[−]
[src]
#[repr(C)]pub struct nsIFeedPerson { /* fields omitted */ }
interface nsIFeedPerson : nsIFeedElementBase
/**
* An nsIFeedPerson represents an author or contributor of a feed.
*/
Methods
impl nsIFeedPerson
[src]
pub fn coerce<T: nsIFeedPersonCoerce>(&self) -> &T
[src]
Cast this nsIFeedPerson
to one of its base interfaces.
impl nsIFeedPerson
[src]
pub unsafe fn GetName(&self, aName: &mut nsAString) -> nsresult
[src]
/**
* The name of the person.
*/
attribute AString name;
pub unsafe fn SetName(&self, aName: &nsAString) -> nsresult
[src]
/**
* The name of the person.
*/
attribute AString name;
pub unsafe fn GetEmail(&self, aEmail: &mut nsAString) -> nsresult
[src]
/**
* An email address associated with the person.
*/
attribute AString email;
pub unsafe fn SetEmail(&self, aEmail: &nsAString) -> nsresult
[src]
/**
* An email address associated with the person.
*/
attribute AString email;
pub unsafe fn GetUri(&self, aUri: *mut *const nsIURI) -> nsresult
[src]
/**
* A URI associated with the person (e.g. a homepage).
*/
attribute nsIURI uri;
pub unsafe fn SetUri(&self, aUri: *const nsIURI) -> nsresult
[src]
/**
* A URI associated with the person (e.g. a homepage).
*/
attribute nsIURI uri;
Methods from Deref<Target = nsIFeedElementBase>
pub fn coerce<T: nsIFeedElementBaseCoerce>(&self) -> &T
[src]
Cast this nsIFeedElementBase
to one of its base interfaces.
pub unsafe fn GetAttributes(
&self,
aAttributes: *mut *const nsISAXAttributes
) -> nsresult
[src]
&self,
aAttributes: *mut *const nsISAXAttributes
) -> nsresult
/**
* The attributes found on the element. Most interfaces provide convenience
* accessors for their standard fields, so this useful only when looking for
* an extension.
*/
attribute nsISAXAttributes attributes;
pub unsafe fn SetAttributes(
&self,
aAttributes: *const nsISAXAttributes
) -> nsresult
[src]
&self,
aAttributes: *const nsISAXAttributes
) -> nsresult
/**
* The attributes found on the element. Most interfaces provide convenience
* accessors for their standard fields, so this useful only when looking for
* an extension.
*/
attribute nsISAXAttributes attributes;
pub unsafe fn GetBaseURI(&self, aBaseURI: *mut *const nsIURI) -> nsresult
[src]
/**
* The baseURI for the Entry or Feed.
*/
attribute nsIURI baseURI;
pub unsafe fn SetBaseURI(&self, aBaseURI: *const nsIURI) -> nsresult
[src]
/**
* The baseURI for the Entry or Feed.
*/
attribute nsIURI baseURI;
Trait Implementations
impl XpCom for nsIFeedPerson
[src]
const IID: nsIID
IID: nsIID = nsID(701224031, 62163, 19240, [181, 87, 58, 183, 166, 30, 205, 228])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[src]
Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more
impl RefCounted for nsIFeedPerson
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIFeedPerson
[src]
type Target = nsIFeedElementBase
The resulting type after dereferencing.
fn deref(&self) -> &nsIFeedElementBase
[src]
Dereferences the value.