pub struct HttpHeader {
pub name: String,
pub value: String,
}๐Deprecated since 0.18.0: The
api::management_canister::http_request module is deprecated. Please use the management_canister module at the crate root.Expand description
HTTP header.
Fieldsยง
ยงname: String๐Deprecated since 0.18.0: The
api::management_canister::http_request module is deprecated. Please use the management_canister module at the crate root.Name
value: String๐Deprecated since 0.18.0: The
api::management_canister::http_request module is deprecated. Please use the management_canister module at the crate root.Value
Trait Implementationsยง
Sourceยงimpl CandidType for HttpHeader
impl CandidType for HttpHeader
Sourceยงimpl Clone for HttpHeader
impl Clone for HttpHeader
Sourceยงfn clone(&self) -> HttpHeader
fn clone(&self) -> HttpHeader
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 moreSourceยงimpl Debug for HttpHeader
impl Debug for HttpHeader
Sourceยงimpl Default for HttpHeader
impl Default for HttpHeader
Sourceยงfn default() -> HttpHeader
fn default() -> HttpHeader
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl<'de> Deserialize<'de> for HttpHeader
impl<'de> Deserialize<'de> for HttpHeader
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl Hash for HttpHeader
impl Hash for HttpHeader
Sourceยงimpl Ord for HttpHeader
impl Ord for HttpHeader
Sourceยงfn cmp(&self, other: &HttpHeader) -> Ordering
fn cmp(&self, other: &HttpHeader) -> Ordering
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialEq for HttpHeader
impl PartialEq for HttpHeader
Sourceยงimpl PartialOrd for HttpHeader
impl PartialOrd for HttpHeader
Sourceยงimpl Serialize for HttpHeader
impl Serialize for HttpHeader
impl Eq for HttpHeader
impl StructuralPartialEq for HttpHeader
Auto Trait Implementationsยง
impl Freeze for HttpHeader
impl RefUnwindSafe for HttpHeader
impl Send for HttpHeader
impl Sync for HttpHeader
impl Unpin for HttpHeader
impl UnwindSafe for HttpHeader
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