pub struct BranchFull {Show 42 fields
pub self_link: Option<Url>,
pub web_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub branch_format: BranchFormat,
pub branch_type: BranchType,
pub bzr_identity: String,
pub code_import_link: Url,
pub control_format: ControlFormat,
pub date_created: DateTime<Utc>,
pub date_last_modified: DateTime<Utc>,
pub dependent_branches_collection_link: Url,
pub description: String,
pub display_name: String,
pub explicitly_private: bool,
pub information_type: InformationType,
pub landing_candidates_collection_link: Url,
pub landing_targets_collection_link: Url,
pub last_mirror_attempt: DateTime<Utc>,
pub last_mirrored: DateTime<Utc>,
pub last_scanned: DateTime<Utc>,
pub last_scanned_id: i64,
pub lifecycle_status: BranchLifecycleStatus,
pub linked_bugs_collection_link: Url,
pub mirror_status_message: String,
pub name: String,
pub owner_link: Url,
pub private: bool,
pub project_link: Url,
pub recipes_collection_link: Url,
pub registrant_link: Url,
pub repository_format: BazaarRepositoryFormat,
pub reviewer_link: Url,
pub revision_count: usize,
pub sourcepackage_link: Url,
pub spec_links_collection_link: Url,
pub subscribers_collection_link: Url,
pub subscriptions_collection_link: Url,
pub unique_name: String,
pub url: Url,
pub webhooks_collection_link: Url,
pub whiteboard: String,
}Expand description
Representation of the branch-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.
branch_format: BranchFormatBranch Format
branch_type: BranchTypeBranch Type
bzr_identity: StringBazaar Identity
The bzr branch path as accessed by Launchpad. If the branch is associated with a product as the primary development focus, then the result should be lp:product. If the branch is related to a series, then lp:product/series. Otherwise the result is lp:~user/product/branch-name.
code_import_link: UrlThe associated CodeImport, if any.
control_format: ControlFormatControl Directory
date_created: DateTime<Utc>Date Created
date_last_modified: DateTime<Utc>Date Last Modified
dependent_branches_collection_link: UrlDependent Branches
A collection of the merge proposals that are dependent on this branch.
description: StringDescription
A short description of the changes in this branch.
display_name: StringDisplay name
The branch unique_name.
explicitly_private: boolKeep branch confidential
Make this branch visible only to its subscribers.
information_type: InformationTypeInformation Type
The type of information contained in this branch.
landing_candidates_collection_link: UrlLanding Candidates
A collection of the merge proposals where this branch is the target branch.
landing_targets_collection_link: UrlLanding Targets
A collection of the merge proposals where this branch is the source branch.
last_mirror_attempt: DateTime<Utc>Last time a mirror of this branch was attempted.
last_mirrored: DateTime<Utc>Last time this branch was successfully mirrored.
last_scanned: DateTime<Utc>Last time this branch was successfully scanned.
last_scanned_id: i64Last scanned revision ID
The head revision ID of the branch when last successfully scanned.
lifecycle_status: BranchLifecycleStatusStatus
linked_bugs_collection_link: UrlThe bugs linked to this branch.
mirror_status_message: StringThe last message we got when mirroring this branch.
name: StringName
Keep very short, unique, and descriptive, because it will be used in URLs. Examples: main, devel, release-1.0, gnome-vfs.
owner_link: UrlOwner
Either yourself or an exclusive team you are a member of. This controls who can modify the branch.
private: boolBranch is confidential
This branch is visible only to its subscribers.
project_link: UrlProject
The project this branch belongs to.
recipes_collection_link: UrlAll recipes associated with the object.
registrant_link: UrlThe user that registered the branch.
repository_format: BazaarRepositoryFormatRepository Format
reviewer_link: UrlReview Team
The reviewer of a branch is the person or exclusive team that is responsible for reviewing proposals and merging into this branch.
revision_count: usizeRevision count
The revision number of the tip of the branch.
sourcepackage_link: UrlThe ISourcePackage that this branch belongs to. None if not a package branch.
spec_links_collection_link: UrlSpecification linked to this branch.
subscribers_collection_link: UrlPersons subscribed to this branch.
subscriptions_collection_link: UrlBranchSubscriptions associated to this branch.
unique_name: StringUnique name
Unique name of the branch, including the owner and project names.
url: UrlBranch URL
The external location where the Bazaar branch is hosted. It is None when the branch is hosted by Launchpad.
webhooks_collection_link: UrlWebhooks for this target.
whiteboard: StringWhiteboard
Notes on the current status of the branch.
Implementations§
Source§impl BranchFull
impl BranchFull
pub fn set_self_(&mut self, value: Option<Branch>)
Sourcepub fn code_import(&self) -> CodeImport
pub fn code_import(&self) -> CodeImport
The associated CodeImport, if any.
pub fn set_code_import(&mut self, value: CodeImport)
Sourcepub fn dependent_branches<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, BranchMergeProposalPage>, Error>
pub fn dependent_branches<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, BranchMergeProposalPage>, Error>
Dependent Branches
A collection of the merge proposals that are dependent on this branch.
Sourcepub fn landing_candidates<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, BranchMergeProposalPage>, Error>
pub fn landing_candidates<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, BranchMergeProposalPage>, Error>
Landing Candidates
A collection of the merge proposals where this branch is the target branch.
Sourcepub fn landing_targets<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, BranchMergeProposalPage>, Error>
pub fn landing_targets<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, BranchMergeProposalPage>, Error>
Landing Targets
A collection of the merge proposals where this branch is the source branch.
Sourcepub fn linked_bugs<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, BugPage>, Error>
pub fn linked_bugs<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, BugPage>, Error>
The bugs linked to this branch.
Sourcepub fn owner(&self) -> Person
pub fn owner(&self) -> Person
Owner
Either yourself or an exclusive team you are a member of. This controls who can modify the branch.
pub fn set_owner(&mut self, value: Person)
pub fn set_project(&mut self, value: Project)
Sourcepub fn recipes<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, SourcePackageRecipePage>, Error>
pub fn recipes<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, SourcePackageRecipePage>, Error>
All recipes associated with the object.
Sourcepub fn registrant(&self) -> Person
pub fn registrant(&self) -> Person
The user that registered the branch.
pub fn set_registrant(&mut self, value: Person)
Sourcepub fn reviewer(&self) -> Person
pub fn reviewer(&self) -> Person
Review Team
The reviewer of a branch is the person or exclusive team that is responsible for reviewing proposals and merging into this branch.
pub fn set_reviewer(&mut self, value: Person)
Sourcepub fn sourcepackage(&self) -> SourcePackage
pub fn sourcepackage(&self) -> SourcePackage
The ISourcePackage that this branch belongs to. None if not a package branch.
pub fn set_sourcepackage(&mut self, value: SourcePackage)
Sourcepub fn spec_links<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, SpecificationBranchPage>, Error>
pub fn spec_links<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, SpecificationBranchPage>, Error>
Specification linked to this branch.
Sourcepub fn subscribers<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, PersonPage>, Error>
pub fn subscribers<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, PersonPage>, Error>
Persons subscribed to this branch.
Sourcepub fn subscriptions<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, BranchSubscriptionPage>, Error>
pub fn subscriptions<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, BranchSubscriptionPage>, Error>
BranchSubscriptions associated to this branch.
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 BranchFull
impl Clone for BranchFull
Source§fn clone(&self) -> BranchFull
fn clone(&self) -> BranchFull
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more