Struct mtgapi_client::api::response::RatelimitRemainingHeader [−]
pub struct RatelimitRemainingHeader(pub u32);
Methods from Deref<Target = u32>
Trait Implementations
impl Clone for RatelimitRemainingHeader
impl Clone for RatelimitRemainingHeaderfn clone(&self) -> RatelimitRemainingHeader
fn clone(&self) -> RatelimitRemainingHeaderReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for RatelimitRemainingHeader
impl Debug for RatelimitRemainingHeaderimpl PartialEq for RatelimitRemainingHeader
impl PartialEq for RatelimitRemainingHeaderfn eq(&self, other: &RatelimitRemainingHeader) -> bool
fn eq(&self, other: &RatelimitRemainingHeader) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &RatelimitRemainingHeader) -> bool
fn ne(&self, other: &RatelimitRemainingHeader) -> boolThis method tests for !=.
impl Deref for RatelimitRemainingHeader
impl Deref for RatelimitRemainingHeadertype Target = u32
The resulting type after dereferencing.
fn deref(&self) -> &u32
fn deref(&self) -> &u32Dereferences the value.
impl DerefMut for RatelimitRemainingHeader
impl DerefMut for RatelimitRemainingHeaderimpl Header for RatelimitRemainingHeader
impl Header for RatelimitRemainingHeaderfn header_name() -> &'static str
fn header_name() -> &'static strReturns the name of the header field this belongs to. Read more
fn parse_header(raw: &Raw) -> Result<Self>
fn parse_header(raw: &Raw) -> Result<Self>Parse a header from a raw stream of bytes. Read more
fn fmt_header(&self, f: &mut Formatter) -> Result
fn fmt_header(&self, f: &mut Formatter) -> ResultFormat a header to outgoing stream. Read more
impl Display for RatelimitRemainingHeader
impl Display for RatelimitRemainingHeaderAuto Trait Implementations
impl Send for RatelimitRemainingHeader
impl Send for RatelimitRemainingHeaderimpl Sync for RatelimitRemainingHeader
impl Sync for RatelimitRemainingHeader