pub struct WebhookTargetFull {
pub self_link: Option<Url>,
pub web_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub webhooks_collection_link: Url,
}Expand description
Representation of the webhook_target-full resource
Fields§
§self_link: Option<Url>The canonical link to this resource.
web_link: Option<Url>The canonical human-addressable web link to this resource.
resource_type_link: Option<Url>The link to the WADL description of this resource.
http_etag: Option<String>The value of the HTTP ETag for this resource.
webhooks_collection_link: UrlWebhooks for this target.
Implementations§
Source§impl WebhookTargetFull
impl WebhookTargetFull
Sourcepub fn self_(&self) -> Option<WebhookTarget>
pub fn self_(&self) -> Option<WebhookTarget>
The canonical link to this resource.
Sourcepub fn set_self_(&mut self, value: Option<WebhookTarget>)
pub fn set_self_(&mut self, value: Option<WebhookTarget>)
Set the self_link value.
Sourcepub fn webhooks<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, WebhookPage>, Error>
pub fn webhooks<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, WebhookPage>, Error>
Webhooks for this target.
Trait Implementations§
Source§impl Clone for WebhookTargetFull
impl Clone for WebhookTargetFull
Source§fn clone(&self) -> WebhookTargetFull
fn clone(&self) -> WebhookTargetFull
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 Debug for WebhookTargetFull
impl Debug for WebhookTargetFull
Source§impl<'de> Deserialize<'de> for WebhookTargetFull
impl<'de> Deserialize<'de> for WebhookTargetFull
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
Source§impl PartialEq for WebhookTargetFull
impl PartialEq for WebhookTargetFull
Source§impl Serialize for WebhookTargetFull
impl Serialize for WebhookTargetFull
impl StructuralPartialEq for WebhookTargetFull
Auto Trait Implementations§
impl Freeze for WebhookTargetFull
impl RefUnwindSafe for WebhookTargetFull
impl Send for WebhookTargetFull
impl Sync for WebhookTargetFull
impl Unpin for WebhookTargetFull
impl UnwindSafe for WebhookTargetFull
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