pub struct MessengerResponse {
pub messenger: Option<Box<BaseMessengerConfiguration>>,
pub messengers: Option<Vec<BaseMessengerConfiguration>>,
}
Expand description
MessengerResponse :
Fields§
§messenger: Option<Box<BaseMessengerConfiguration>>
§messengers: Option<Vec<BaseMessengerConfiguration>>
Implementations§
source§impl MessengerResponse
impl MessengerResponse
sourcepub fn new() -> MessengerResponse
pub fn new() -> MessengerResponse
Trait Implementations§
source§impl Clone for MessengerResponse
impl Clone for MessengerResponse
source§fn clone(&self) -> MessengerResponse
fn clone(&self) -> MessengerResponse
Returns a copy 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 MessengerResponse
impl Debug for MessengerResponse
source§impl Default for MessengerResponse
impl Default for MessengerResponse
source§fn default() -> MessengerResponse
fn default() -> MessengerResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MessengerResponse
impl<'de> Deserialize<'de> for MessengerResponse
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 MessengerResponse
impl PartialEq for MessengerResponse
source§fn eq(&self, other: &MessengerResponse) -> bool
fn eq(&self, other: &MessengerResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MessengerResponse
impl Serialize for MessengerResponse
impl StructuralPartialEq for MessengerResponse
Auto Trait Implementations§
impl RefUnwindSafe for MessengerResponse
impl Send for MessengerResponse
impl Sync for MessengerResponse
impl Unpin for MessengerResponse
impl UnwindSafe for MessengerResponse
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