Struct core::event_request::CreateRequest
[−]pub struct CreateRequest {
pub governance_id: DigestIdentifier,
pub schema_id: String,
pub namespace: String,
pub payload: RequestPayload,
}
Fields
governance_id: DigestIdentifier
schema_id: String
namespace: String
payload: RequestPayload
Trait Implementations
impl BorshDeserialize for CreateRequestwhere
DigestIdentifier: BorshDeserialize,
String: BorshDeserialize,
RequestPayload: BorshDeserialize,
impl BorshDeserialize for CreateRequestwhere
DigestIdentifier: BorshDeserialize,
String: BorshDeserialize,
RequestPayload: BorshDeserialize,
fn deserialize(buf: &mut &[u8]) -> Result<CreateRequest, Error>
fn deserialize(buf: &mut &[u8]) -> Result<CreateRequest, 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 CreateRequestwhere
DigestIdentifier: BorshSerialize,
String: BorshSerialize,
RequestPayload: BorshSerialize,
impl BorshSerialize for CreateRequestwhere
DigestIdentifier: BorshSerialize,
String: BorshSerialize,
RequestPayload: BorshSerialize,
impl Clone for CreateRequest
impl Clone for CreateRequest
fn clone(&self) -> CreateRequest
fn clone(&self) -> CreateRequest
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 CreateRequest
impl Debug for CreateRequest
impl<'de> Deserialize<'de> for CreateRequest
impl<'de> Deserialize<'de> for CreateRequest
fn deserialize<__D>(
__deserializer: __D
) -> Result<CreateRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CreateRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<CreateRequest> for CreateRequest
impl PartialEq<CreateRequest> for CreateRequest
fn eq(&self, other: &CreateRequest) -> bool
fn eq(&self, other: &CreateRequest) -> bool
impl Serialize for CreateRequest
impl Serialize for CreateRequest
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 CreateRequest
impl ToSchema for CreateRequest
impl Eq for CreateRequest
impl StructuralEq for CreateRequest
impl StructuralPartialEq for CreateRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateRequest
impl Send for CreateRequest
impl Sync for CreateRequest
impl Unpin for CreateRequest
impl UnwindSafe for CreateRequest
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.