pub struct CreateWebhookFromTemplateParams {
pub name: String,
pub network: String,
pub notification_email: Option<String>,
pub destination_attributes: WebhookDestinationAttributes,
pub template_args: TemplateArgs,
}Expand description
Parameters for create_webhook_from_template.
Fields§
§name: StringHuman-readable label for the webhook.
network: StringBlockchain network to watch (e.g. ethereum-mainnet).
notification_email: Option<String>Optional email that receives alerts if the webhook terminates.
destination_attributes: WebhookDestinationAttributesDestination configuration for delivered payloads.
template_args: TemplateArgsFilter template identifier and its arguments.
Trait Implementations§
Source§impl Clone for CreateWebhookFromTemplateParams
impl Clone for CreateWebhookFromTemplateParams
Source§fn clone(&self) -> CreateWebhookFromTemplateParams
fn clone(&self) -> CreateWebhookFromTemplateParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for CreateWebhookFromTemplateParams
impl<'de> Deserialize<'de> for CreateWebhookFromTemplateParams
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
Auto Trait Implementations§
impl Freeze for CreateWebhookFromTemplateParams
impl RefUnwindSafe for CreateWebhookFromTemplateParams
impl Send for CreateWebhookFromTemplateParams
impl Sync for CreateWebhookFromTemplateParams
impl Unpin for CreateWebhookFromTemplateParams
impl UnsafeUnpin for CreateWebhookFromTemplateParams
impl UnwindSafe for CreateWebhookFromTemplateParams
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