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