Struct windows::Web::Http::Headers::HttpContentRangeHeaderValue
pub struct HttpContentRangeHeaderValue(/* private fields */);
Implementations§
§impl HttpContentRangeHeaderValue
impl HttpContentRangeHeaderValue
pub fn FirstBytePosition(&self) -> Result<IReference<u64>>
pub fn LastBytePosition(&self) -> Result<IReference<u64>>
pub fn Length(&self) -> Result<IReference<u64>>
pub fn Unit(&self) -> Result<HSTRING>
pub fn SetUnit(&self, value: &HSTRING) -> Result<()>
pub fn CreateFromLength(length: u64) -> Result<HttpContentRangeHeaderValue>
pub fn CreateFromRange( from: u64, to: u64 ) -> Result<HttpContentRangeHeaderValue>
pub fn CreateFromRangeWithLength( from: u64, to: u64, length: u64 ) -> Result<HttpContentRangeHeaderValue>
pub fn Parse(input: &HSTRING) -> Result<HttpContentRangeHeaderValue>
pub fn TryParse( input: &HSTRING, contentrangeheadervalue: &mut Option<HttpContentRangeHeaderValue> ) -> Result<bool>
pub fn ToString(&self) -> Result<HSTRING>
Trait Implementations§
§impl Clone for HttpContentRangeHeaderValue
impl Clone for HttpContentRangeHeaderValue
§fn clone(&self) -> HttpContentRangeHeaderValue
fn clone(&self) -> HttpContentRangeHeaderValue
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 HttpContentRangeHeaderValue
impl Debug for HttpContentRangeHeaderValue
§impl From<&HttpContentRangeHeaderValue> for &IInspectable
impl From<&HttpContentRangeHeaderValue> for &IInspectable
§fn from(value: &HttpContentRangeHeaderValue) -> Self
fn from(value: &HttpContentRangeHeaderValue) -> Self
Converts to this type from the input type.
§impl From<&HttpContentRangeHeaderValue> for &IUnknown
impl From<&HttpContentRangeHeaderValue> for &IUnknown
§fn from(value: &HttpContentRangeHeaderValue) -> Self
fn from(value: &HttpContentRangeHeaderValue) -> Self
Converts to this type from the input type.
§impl From<HttpContentRangeHeaderValue> for IInspectable
impl From<HttpContentRangeHeaderValue> for IInspectable
§fn from(value: HttpContentRangeHeaderValue) -> Self
fn from(value: HttpContentRangeHeaderValue) -> Self
Converts to this type from the input type.
§impl From<HttpContentRangeHeaderValue> for IUnknown
impl From<HttpContentRangeHeaderValue> for IUnknown
§fn from(value: HttpContentRangeHeaderValue) -> Self
fn from(value: HttpContentRangeHeaderValue) -> Self
Converts to this type from the input type.
§impl Interface for HttpContentRangeHeaderValue
impl Interface for HttpContentRangeHeaderValue
§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 HttpContentRangeHeaderValue
impl PartialEq for HttpContentRangeHeaderValue
§fn eq(&self, other: &HttpContentRangeHeaderValue) -> bool
fn eq(&self, other: &HttpContentRangeHeaderValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for HttpContentRangeHeaderValue
impl Send for HttpContentRangeHeaderValue
impl StructuralPartialEq for HttpContentRangeHeaderValue
impl Sync for HttpContentRangeHeaderValue
Auto Trait Implementations§
impl RefUnwindSafe for HttpContentRangeHeaderValue
impl Unpin for HttpContentRangeHeaderValue
impl UnwindSafe for HttpContentRangeHeaderValue
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