Struct windows::Web::Syndication::SyndicationClient
pub struct SyndicationClient(/* private fields */);
Implementations§
§impl SyndicationClient
impl SyndicationClient
pub fn new() -> Result<Self>
pub fn ServerCredential(&self) -> Result<PasswordCredential>
pub fn SetServerCredential<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<PasswordCredential>,
pub fn ProxyCredential(&self) -> Result<PasswordCredential>
pub fn SetProxyCredential<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<PasswordCredential>,
pub fn MaxResponseBufferSize(&self) -> Result<u32>
pub fn SetMaxResponseBufferSize(&self, value: u32) -> Result<()>
pub fn Timeout(&self) -> Result<u32>
pub fn SetTimeout(&self, value: u32) -> Result<()>
pub fn BypassCacheOnRetrieve(&self) -> Result<bool>
pub fn SetBypassCacheOnRetrieve(&self, value: bool) -> Result<()>
pub fn SetRequestHeader(&self, name: &HSTRING, value: &HSTRING) -> Result<()>
pub fn RetrieveFeedAsync<P0>(
&self,
uri: P0
) -> Result<IAsyncOperationWithProgress<SyndicationFeed, RetrievalProgress>>where
P0: IntoParam<Uri>,
pub fn CreateSyndicationClient<P0>(
servercredential: P0
) -> Result<SyndicationClient>where
P0: IntoParam<PasswordCredential>,
Trait Implementations§
§impl Clone for SyndicationClient
impl Clone for SyndicationClient
§fn clone(&self) -> SyndicationClient
fn clone(&self) -> SyndicationClient
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 SyndicationClient
impl Debug for SyndicationClient
§impl From<&SyndicationClient> for &IInspectable
impl From<&SyndicationClient> for &IInspectable
§fn from(value: &SyndicationClient) -> Self
fn from(value: &SyndicationClient) -> Self
Converts to this type from the input type.
§impl From<&SyndicationClient> for &IUnknown
impl From<&SyndicationClient> for &IUnknown
§fn from(value: &SyndicationClient) -> Self
fn from(value: &SyndicationClient) -> Self
Converts to this type from the input type.
§impl From<SyndicationClient> for IInspectable
impl From<SyndicationClient> for IInspectable
§fn from(value: SyndicationClient) -> Self
fn from(value: SyndicationClient) -> Self
Converts to this type from the input type.
§impl From<SyndicationClient> for IUnknown
impl From<SyndicationClient> for IUnknown
§fn from(value: SyndicationClient) -> Self
fn from(value: SyndicationClient) -> Self
Converts to this type from the input type.
§impl Interface for SyndicationClient
impl Interface for SyndicationClient
§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 SyndicationClient
impl PartialEq for SyndicationClient
§fn eq(&self, other: &SyndicationClient) -> bool
fn eq(&self, other: &SyndicationClient) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SyndicationClient
impl Send for SyndicationClient
impl StructuralPartialEq for SyndicationClient
impl Sync for SyndicationClient
Auto Trait Implementations§
impl RefUnwindSafe for SyndicationClient
impl Unpin for SyndicationClient
impl UnwindSafe for SyndicationClient
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