pub struct ApprovableResult {
pub status: isize,
pub body: Value,
}
Expand description
Result of an approval request
Fields§
§status: isize
The HTTP status code for this partial request.
body: Value
Implementations§
Source§impl ApprovableResult
impl ApprovableResult
pub fn new(status: isize, body: Value) -> ApprovableResult
Trait Implementations§
Source§impl Clone for ApprovableResult
impl Clone for ApprovableResult
Source§fn clone(&self) -> ApprovableResult
fn clone(&self) -> ApprovableResult
Returns a duplicate 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 ApprovableResult
impl Debug for ApprovableResult
Source§impl<'de> Deserialize<'de> for ApprovableResult
impl<'de> Deserialize<'de> for ApprovableResult
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 PartialEq for ApprovableResult
impl PartialEq for ApprovableResult
Source§impl Serialize for ApprovableResult
impl Serialize for ApprovableResult
impl StructuralPartialEq for ApprovableResult
Auto Trait Implementations§
impl Freeze for ApprovableResult
impl RefUnwindSafe for ApprovableResult
impl Send for ApprovableResult
impl Sync for ApprovableResult
impl Unpin for ApprovableResult
impl UnwindSafe for ApprovableResult
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