pub struct ServiceMessageResponse {
pub message: String,
}
Fields
message: String
Implementations
sourceimpl ServiceMessageResponse
impl ServiceMessageResponse
pub fn new(message: String) -> ServiceMessageResponse
Trait Implementations
sourceimpl Clone for ServiceMessageResponse
impl Clone for ServiceMessageResponse
sourcefn clone(&self) -> ServiceMessageResponse
fn clone(&self) -> ServiceMessageResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ServiceMessageResponse
impl Debug for ServiceMessageResponse
sourceimpl Default for ServiceMessageResponse
impl Default for ServiceMessageResponse
sourcefn default() -> ServiceMessageResponse
fn default() -> ServiceMessageResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ServiceMessageResponse
impl<'de> Deserialize<'de> for ServiceMessageResponse
sourcefn 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
sourceimpl PartialEq<ServiceMessageResponse> for ServiceMessageResponse
impl PartialEq<ServiceMessageResponse> for ServiceMessageResponse
sourcefn eq(&self, other: &ServiceMessageResponse) -> bool
fn eq(&self, other: &ServiceMessageResponse) -> bool
sourceimpl Serialize for ServiceMessageResponse
impl Serialize for ServiceMessageResponse
impl StructuralPartialEq for ServiceMessageResponse
Auto Trait Implementations
impl RefUnwindSafe for ServiceMessageResponse
impl Send for ServiceMessageResponse
impl Sync for ServiceMessageResponse
impl Unpin for ServiceMessageResponse
impl UnwindSafe for ServiceMessageResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more