pub struct BugSubscriptionFull {
pub self_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub bug_link: Url,
pub date_created: DateTime<Utc>,
pub person_link: Url,
pub subscribed_by_link: Url,
}Expand description
Representation of the bug_subscription-full resource
Fields§
§self_link: Option<Url>The canonical 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.
bug_link: UrlBug
date_created: DateTime<Utc>Date subscribed
person_link: UrlPerson
The person’s Launchpad ID or email address.
subscribed_by_link: UrlSubscribed by
The person who created this subscription.
Implementations§
source§impl BugSubscriptionFull
impl BugSubscriptionFull
sourcepub fn self_(&self) -> Option<BugSubscription>
pub fn self_(&self) -> Option<BugSubscription>
The canonical link to this resource.
pub fn set_self_(&mut self, value: Option<BugSubscription>)
pub fn set_bug(&mut self, value: Bug)
pub fn set_person(&mut self, value: Person)
sourcepub fn subscribed_by(&self) -> Person
pub fn subscribed_by(&self) -> Person
Subscribed by
The person who created this subscription.
pub fn set_subscribed_by(&mut self, value: Person)
Trait Implementations§
source§impl Clone for BugSubscriptionFull
impl Clone for BugSubscriptionFull
source§fn clone(&self) -> BugSubscriptionFull
fn clone(&self) -> BugSubscriptionFull
Returns a copy of the value. Read more
1.6.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 BugSubscriptionFull
impl Debug for BugSubscriptionFull
source§impl<'de> Deserialize<'de> for BugSubscriptionFull
impl<'de> Deserialize<'de> for BugSubscriptionFull
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 BugSubscriptionFull
impl PartialEq for BugSubscriptionFull
source§impl Serialize for BugSubscriptionFull
impl Serialize for BugSubscriptionFull
impl StructuralPartialEq for BugSubscriptionFull
Auto Trait Implementations§
impl Freeze for BugSubscriptionFull
impl RefUnwindSafe for BugSubscriptionFull
impl Send for BugSubscriptionFull
impl Sync for BugSubscriptionFull
impl Unpin for BugSubscriptionFull
impl UnwindSafe for BugSubscriptionFull
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)