Struct windows::Web::Syndication::SyndicationItem
pub struct SyndicationItem(/* private fields */);
Implementations§
§impl SyndicationItem
impl SyndicationItem
pub fn new() -> Result<Self>
pub fn Authors(&self) -> Result<IVector<SyndicationPerson>>
pub fn Categories(&self) -> Result<IVector<SyndicationCategory>>
pub fn Contributors(&self) -> Result<IVector<SyndicationPerson>>
pub fn Content(&self) -> Result<SyndicationContent>
pub fn SetContent<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<SyndicationContent>,
pub fn Id(&self) -> Result<HSTRING>
pub fn SetId(&self, value: &HSTRING) -> Result<()>
pub fn LastUpdatedTime(&self) -> Result<DateTime>
pub fn SetLastUpdatedTime(&self, value: DateTime) -> Result<()>
pub fn Links(&self) -> Result<IVector<SyndicationLink>>
pub fn PublishedDate(&self) -> Result<DateTime>
pub fn SetPublishedDate(&self, value: DateTime) -> Result<()>
pub fn Rights(&self) -> Result<ISyndicationText>
pub fn SetRights<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<ISyndicationText>,
pub fn Source(&self) -> Result<SyndicationFeed>
pub fn SetSource<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<SyndicationFeed>,
pub fn Summary(&self) -> Result<ISyndicationText>
pub fn SetSummary<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<ISyndicationText>,
pub fn Title(&self) -> Result<ISyndicationText>
pub fn SetTitle<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<ISyndicationText>,
pub fn CommentsUri(&self) -> Result<Uri>
pub fn SetCommentsUri<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<Uri>,
pub fn EditUri(&self) -> Result<Uri>
pub fn EditMediaUri(&self) -> Result<Uri>
pub fn ETag(&self) -> Result<HSTRING>
pub fn ItemUri(&self) -> Result<Uri>
pub fn Load(&self, item: &HSTRING) -> Result<()>
pub fn LoadFromXml<P0>(&self, itemdocument: P0) -> Result<()>where
P0: IntoParam<XmlDocument>,
pub fn CreateSyndicationItem<P0, P1>(
title: &HSTRING,
content: P0,
uri: P1
) -> Result<SyndicationItem>where
P0: IntoParam<SyndicationContent>,
P1: IntoParam<Uri>,
pub fn NodeName(&self) -> Result<HSTRING>
pub fn SetNodeName(&self, value: &HSTRING) -> Result<()>
pub fn NodeNamespace(&self) -> Result<HSTRING>
pub fn SetNodeNamespace(&self, value: &HSTRING) -> Result<()>
pub fn NodeValue(&self) -> Result<HSTRING>
pub fn SetNodeValue(&self, value: &HSTRING) -> Result<()>
pub fn Language(&self) -> Result<HSTRING>
pub fn SetLanguage(&self, value: &HSTRING) -> Result<()>
pub fn BaseUri(&self) -> Result<Uri>
pub fn SetBaseUri<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<Uri>,
pub fn AttributeExtensions(&self) -> Result<IVector<SyndicationAttribute>>
pub fn ElementExtensions(&self) -> Result<IVector<ISyndicationNode>>
pub fn GetXmlDocument(&self, format: SyndicationFormat) -> Result<XmlDocument>
Trait Implementations§
§impl Clone for SyndicationItem
impl Clone for SyndicationItem
§fn clone(&self) -> SyndicationItem
fn clone(&self) -> SyndicationItem
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for SyndicationItem
impl Debug for SyndicationItem
§impl From<&SyndicationItem> for &IInspectable
impl From<&SyndicationItem> for &IInspectable
§fn from(value: &SyndicationItem) -> Self
fn from(value: &SyndicationItem) -> Self
Converts to this type from the input type.
§impl From<&SyndicationItem> for &IUnknown
impl From<&SyndicationItem> for &IUnknown
§fn from(value: &SyndicationItem) -> Self
fn from(value: &SyndicationItem) -> Self
Converts to this type from the input type.
§impl From<SyndicationItem> for IInspectable
impl From<SyndicationItem> for IInspectable
§fn from(value: SyndicationItem) -> Self
fn from(value: SyndicationItem) -> Self
Converts to this type from the input type.
§impl From<SyndicationItem> for IUnknown
impl From<SyndicationItem> for IUnknown
§fn from(value: SyndicationItem) -> Self
fn from(value: SyndicationItem) -> Self
Converts to this type from the input type.
§impl Interface for SyndicationItem
impl Interface for SyndicationItem
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for SyndicationItem
impl PartialEq for SyndicationItem
§fn eq(&self, other: &SyndicationItem) -> bool
fn eq(&self, other: &SyndicationItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SyndicationItem
impl Send for SyndicationItem
impl StructuralPartialEq for SyndicationItem
impl Sync for SyndicationItem
Auto Trait Implementations§
impl RefUnwindSafe for SyndicationItem
impl Unpin for SyndicationItem
impl UnwindSafe for SyndicationItem
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