pub struct DestinationTest {
pub error: Option<String>,
pub message: Option<String>,
pub ok: Option<bool>,
pub sent: Option<i32>,
}Fields§
§error: Option<String>Error is the platform’s rejection, present only on a failed send.
message: Option<String>Message is the platform’s own note about the send, present only on success.
ok: Option<bool>OK is true when the platform accepted the synthetic event.
sent: Option<i32>Sent is how many events the platform accepted, present only on success.
Implementations§
Source§impl DestinationTest
impl DestinationTest
pub fn new() -> DestinationTest
Trait Implementations§
Source§impl Clone for DestinationTest
impl Clone for DestinationTest
Source§fn clone(&self) -> DestinationTest
fn clone(&self) -> DestinationTest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DestinationTest
impl Debug for DestinationTest
Source§impl Default for DestinationTest
impl Default for DestinationTest
Source§fn default() -> DestinationTest
fn default() -> DestinationTest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DestinationTest
impl<'de> Deserialize<'de> for DestinationTest
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 DestinationTest
impl PartialEq for DestinationTest
Source§impl Serialize for DestinationTest
impl Serialize for DestinationTest
impl StructuralPartialEq for DestinationTest
Auto Trait Implementations§
impl Freeze for DestinationTest
impl RefUnwindSafe for DestinationTest
impl Send for DestinationTest
impl Sync for DestinationTest
impl Unpin for DestinationTest
impl UnsafeUnpin for DestinationTest
impl UnwindSafe for DestinationTest
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