pub struct Int32ServiceResponse {
pub data: Option<i32>,
pub success: Option<bool>,
pub message: Option<Option<String>>,
pub response_code: Option<HttpStatusCode>,
}Fields§
§data: Option<i32>§success: Option<bool>§message: Option<Option<String>>§response_code: Option<HttpStatusCode>Implementations§
Source§impl Int32ServiceResponse
impl Int32ServiceResponse
pub fn new() -> Int32ServiceResponse
Trait Implementations§
Source§impl Clone for Int32ServiceResponse
impl Clone for Int32ServiceResponse
Source§fn clone(&self) -> Int32ServiceResponse
fn clone(&self) -> Int32ServiceResponse
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 Int32ServiceResponse
impl Debug for Int32ServiceResponse
Source§impl Default for Int32ServiceResponse
impl Default for Int32ServiceResponse
Source§fn default() -> Int32ServiceResponse
fn default() -> Int32ServiceResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Int32ServiceResponse
impl<'de> Deserialize<'de> for Int32ServiceResponse
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 Int32ServiceResponse
impl PartialEq for Int32ServiceResponse
Source§impl Serialize for Int32ServiceResponse
impl Serialize for Int32ServiceResponse
impl StructuralPartialEq for Int32ServiceResponse
Auto Trait Implementations§
impl Freeze for Int32ServiceResponse
impl RefUnwindSafe for Int32ServiceResponse
impl Send for Int32ServiceResponse
impl Sync for Int32ServiceResponse
impl Unpin for Int32ServiceResponse
impl UnwindSafe for Int32ServiceResponse
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