pub struct SignaldResponse {
pub id: Option<String>,
pub data: ResponseType,
}
Expand description
A Signald response
Fields§
§id: Option<String>
§data: ResponseType
Implementations§
Source§impl SignaldResponse
impl SignaldResponse
pub fn from_value(val: Value) -> SignaldResponse
Trait Implementations§
Source§impl Clone for SignaldResponse
impl Clone for SignaldResponse
Source§fn clone(&self) -> SignaldResponse
fn clone(&self) -> SignaldResponse
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 moreAuto Trait Implementations§
impl Freeze for SignaldResponse
impl RefUnwindSafe for SignaldResponse
impl Send for SignaldResponse
impl Sync for SignaldResponse
impl Unpin for SignaldResponse
impl UnwindSafe for SignaldResponse
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