pub struct GetWebhookEndpointResponse {
pub endpoint: String,
pub active: bool,
}
Fields§
§endpoint: String
Webhook URL
active: bool
Webhook usage status. Send a webhook event from the LINE Platform to the webhook URL only if enabled. true
: Webhook usage is enabled. false
: Webhook usage is disabled.
Implementations§
Source§impl GetWebhookEndpointResponse
impl GetWebhookEndpointResponse
pub fn new(endpoint: String, active: bool) -> GetWebhookEndpointResponse
Trait Implementations§
Source§impl Clone for GetWebhookEndpointResponse
impl Clone for GetWebhookEndpointResponse
Source§fn clone(&self) -> GetWebhookEndpointResponse
fn clone(&self) -> GetWebhookEndpointResponse
Returns a copy 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 Debug for GetWebhookEndpointResponse
impl Debug for GetWebhookEndpointResponse
Source§impl Default for GetWebhookEndpointResponse
impl Default for GetWebhookEndpointResponse
Source§fn default() -> GetWebhookEndpointResponse
fn default() -> GetWebhookEndpointResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetWebhookEndpointResponse
impl<'de> Deserialize<'de> for GetWebhookEndpointResponse
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
impl StructuralPartialEq for GetWebhookEndpointResponse
Auto Trait Implementations§
impl Freeze for GetWebhookEndpointResponse
impl RefUnwindSafe for GetWebhookEndpointResponse
impl Send for GetWebhookEndpointResponse
impl Sync for GetWebhookEndpointResponse
impl Unpin for GetWebhookEndpointResponse
impl UnwindSafe for GetWebhookEndpointResponse
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