pub struct SubscriptionView {
pub channel: Option<String>,
pub created_at: Option<String>,
pub events: Option<Vec<String>>,
pub id: Option<String>,
pub repo: Option<String>,
}Fields§
§channel: Option<String>Channel is the Slack channel id or name the notifier posts to.
created_at: Option<String>CreatedAt is RFC 3339 UTC.
events: Option<Vec<String>>Events is the kind filter; absent means every deliverable kind.
id: Option<String>ID is the subscription’s identifier ("sub_…"), the handle to delete it by.
repo: Option<String>Repo is the repo whose lifecycle events are delivered.
Implementations§
Source§impl SubscriptionView
impl SubscriptionView
pub fn new() -> SubscriptionView
Trait Implementations§
Source§impl Clone for SubscriptionView
impl Clone for SubscriptionView
Source§fn clone(&self) -> SubscriptionView
fn clone(&self) -> SubscriptionView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SubscriptionView
impl Debug for SubscriptionView
Source§impl Default for SubscriptionView
impl Default for SubscriptionView
Source§fn default() -> SubscriptionView
fn default() -> SubscriptionView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubscriptionView
impl<'de> Deserialize<'de> for SubscriptionView
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 SubscriptionView
impl PartialEq for SubscriptionView
Source§impl Serialize for SubscriptionView
impl Serialize for SubscriptionView
impl StructuralPartialEq for SubscriptionView
Auto Trait Implementations§
impl Freeze for SubscriptionView
impl RefUnwindSafe for SubscriptionView
impl Send for SubscriptionView
impl Sync for SubscriptionView
impl Unpin for SubscriptionView
impl UnsafeUnpin for SubscriptionView
impl UnwindSafe for SubscriptionView
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