pub struct BugTrackerComponentFull {
pub self_link: Option<Url>,
pub web_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub component_group_link: Url,
pub distro_source_package_link: Url,
pub is_visible: bool,
pub name: String,
}
Expand description
Representation of the bug_tracker_component-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.
component_group_link: Url
Component Group
distro_source_package_link: Url
Distribution Source Package
The distribution source package object that should be linked to this component.
is_visible: bool
Is Visible?
Should the component be shown in the Launchpad web interface?
name: String
Name
The name of a software component as shown in Launchpad.
Implementations§
Source§impl BugTrackerComponentFull
impl BugTrackerComponentFull
Sourcepub fn self_(&self) -> Option<BugTrackerComponent>
pub fn self_(&self) -> Option<BugTrackerComponent>
The canonical link to this resource.
pub fn set_self_(&mut self, value: Option<BugTrackerComponent>)
Sourcepub fn component_group(&self) -> BugTrackerComponentGroup
pub fn component_group(&self) -> BugTrackerComponentGroup
Component Group
pub fn set_component_group(&mut self, value: BugTrackerComponentGroup)
Sourcepub fn distro_source_package(&self) -> DistributionSourcePackage
pub fn distro_source_package(&self) -> DistributionSourcePackage
Distribution Source Package
The distribution source package object that should be linked to this component.
pub fn set_distro_source_package(&mut self, value: DistributionSourcePackage)
Trait Implementations§
Source§impl Clone for BugTrackerComponentFull
impl Clone for BugTrackerComponentFull
Source§fn clone(&self) -> BugTrackerComponentFull
fn clone(&self) -> BugTrackerComponentFull
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 BugTrackerComponentFull
impl Debug for BugTrackerComponentFull
Source§impl<'de> Deserialize<'de> for BugTrackerComponentFull
impl<'de> Deserialize<'de> for BugTrackerComponentFull
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 BugTrackerComponentFull
impl PartialEq for BugTrackerComponentFull
Source§impl Serialize for BugTrackerComponentFull
impl Serialize for BugTrackerComponentFull
impl StructuralPartialEq for BugTrackerComponentFull
Auto Trait Implementations§
impl Freeze for BugTrackerComponentFull
impl RefUnwindSafe for BugTrackerComponentFull
impl Send for BugTrackerComponentFull
impl Sync for BugTrackerComponentFull
impl Unpin for BugTrackerComponentFull
impl UnwindSafe for BugTrackerComponentFull
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