Struct core::event_request::RequestData
[−]pub struct RequestData {
pub request: EventRequestType,
pub request_id: String,
pub timestamp: i64,
pub subject_id: Option<String>,
pub sn: Option<u64>,
}
Fields
request: EventRequestType
request_id: String
timestamp: i64
subject_id: Option<String>
sn: Option<u64>
Trait Implementations
impl BorshDeserialize for RequestDatawhere
EventRequestType: BorshDeserialize,
String: BorshDeserialize,
i64: BorshDeserialize,
Option<String>: BorshDeserialize,
Option<u64>: BorshDeserialize,
impl BorshDeserialize for RequestDatawhere
EventRequestType: BorshDeserialize,
String: BorshDeserialize,
i64: BorshDeserialize,
Option<String>: BorshDeserialize,
Option<u64>: BorshDeserialize,
fn deserialize(buf: &mut &[u8]) -> Result<RequestData, Error>
fn deserialize(buf: &mut &[u8]) -> Result<RequestData, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes. Read more
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
impl BorshSerialize for RequestDatawhere
EventRequestType: BorshSerialize,
String: BorshSerialize,
i64: BorshSerialize,
Option<String>: BorshSerialize,
Option<u64>: BorshSerialize,
impl BorshSerialize for RequestDatawhere
EventRequestType: BorshSerialize,
String: BorshSerialize,
i64: BorshSerialize,
Option<String>: BorshSerialize,
Option<u64>: BorshSerialize,
impl Clone for RequestData
impl Clone for RequestData
fn clone(&self) -> RequestData
fn clone(&self) -> RequestData
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 moreimpl Debug for RequestData
impl Debug for RequestData
impl<'de> Deserialize<'de> for RequestData
impl<'de> Deserialize<'de> for RequestData
fn deserialize<__D>(
__deserializer: __D
) -> Result<RequestData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<RequestData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<RequestData> for RequestData
impl PartialEq<RequestData> for RequestData
fn eq(&self, other: &RequestData) -> bool
fn eq(&self, other: &RequestData) -> bool
impl Serialize for RequestData
impl Serialize for RequestData
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl ToSchema for RequestData
impl ToSchema for RequestData
impl Eq for RequestData
impl StructuralEq for RequestData
impl StructuralPartialEq for RequestData
Auto Trait Implementations
impl RefUnwindSafe for RequestData
impl Send for RequestData
impl Sync for RequestData
impl Unpin for RequestData
impl UnwindSafe for RequestData
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.