pub struct CanisterHttpReject {
pub reject_code: u64,
pub message: String,
}Fields§
§reject_code: u64§message: StringBounded by the 1 KiB a node truncates its reject messages to.
Trait Implementations§
Source§impl Clone for CanisterHttpReject
impl Clone for CanisterHttpReject
Source§impl Debug for CanisterHttpReject
impl Debug for CanisterHttpReject
Source§impl<'de> Deserialize<'de> for CanisterHttpReject
impl<'de> Deserialize<'de> for CanisterHttpReject
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
impl Eq for CanisterHttpReject
Source§impl Hash for CanisterHttpReject
impl Hash for CanisterHttpReject
Source§impl Ord for CanisterHttpReject
impl Ord for CanisterHttpReject
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CanisterHttpReject
impl PartialEq for CanisterHttpReject
Source§impl PartialOrd for CanisterHttpReject
impl PartialOrd for CanisterHttpReject
Source§impl Serialize for CanisterHttpReject
impl Serialize for CanisterHttpReject
impl StructuralPartialEq for CanisterHttpReject
Auto Trait Implementations§
impl Forget for CanisterHttpReject
impl Freeze for CanisterHttpReject
impl RefUnwindSafe for CanisterHttpReject
impl Send for CanisterHttpReject
impl Sync for CanisterHttpReject
impl Unpin for CanisterHttpReject
impl UnsafeUnpin for CanisterHttpReject
impl UnwindSafe for CanisterHttpReject
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.