pub struct WebhookCreate {
pub body: Vec<u8>,
pub headers: HashMap<String, String>,
pub id: Vec<u8>,
pub method: HttpMethod,
pub url: String,
}
Expand description
Instruction.
Fields§
§body: Vec<u8>
§headers: HashMap<String, String>
§id: Vec<u8>
§method: HttpMethod
§url: String
Trait Implementations§
source§impl BorshDeserialize for WebhookCreatewhere
Vec<u8>: BorshDeserialize,
HashMap<String, String>: BorshDeserialize,
HttpMethod: BorshDeserialize,
String: BorshDeserialize,
impl BorshDeserialize for WebhookCreatewhere Vec<u8>: BorshDeserialize, HashMap<String, String>: BorshDeserialize, HttpMethod: BorshDeserialize, String: BorshDeserialize,
source§impl BorshSerialize for WebhookCreatewhere
Vec<u8>: BorshSerialize,
HashMap<String, String>: BorshSerialize,
HttpMethod: BorshSerialize,
String: BorshSerialize,
impl BorshSerialize for WebhookCreatewhere Vec<u8>: BorshSerialize, HashMap<String, String>: BorshSerialize, HttpMethod: BorshSerialize, String: BorshSerialize,
source§impl Discriminator for WebhookCreate
impl Discriminator for WebhookCreate
const DISCRIMINATOR: [u8; 8] = _
fn discriminator() -> [u8; 8]
Auto Trait Implementations§
impl RefUnwindSafe for WebhookCreate
impl Send for WebhookCreate
impl Sync for WebhookCreate
impl Unpin for WebhookCreate
impl UnwindSafe for WebhookCreate
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