Struct clockwork_webhook_program::instruction::RequestNew
source · [−]pub struct RequestNew {
pub id: String,
pub method: HttpMethod,
pub route: String,
}
Expand description
Instruction.
Fields
id: String
method: HttpMethod
route: String
Trait Implementations
sourceimpl BorshDeserialize for RequestNewwhere
String: BorshDeserialize,
HttpMethod: BorshDeserialize,
String: BorshDeserialize,
impl BorshDeserialize for RequestNewwhere
String: BorshDeserialize,
HttpMethod: BorshDeserialize,
String: BorshDeserialize,
sourcefn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, 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.
sourceimpl BorshSerialize for RequestNewwhere
String: BorshSerialize,
HttpMethod: BorshSerialize,
String: BorshSerialize,
impl BorshSerialize for RequestNewwhere
String: BorshSerialize,
HttpMethod: BorshSerialize,
String: BorshSerialize,
Auto Trait Implementations
impl RefUnwindSafe for RequestNew
impl Send for RequestNew
impl Sync for RequestNew
impl Unpin for RequestNew
impl UnwindSafe for RequestNew
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
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