pub struct GitRefFull {
pub self_link: Option<Url>,
pub web_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub commit_sha1: String,
pub dependent_landings_collection_link: Url,
pub landing_candidates_collection_link: Url,
pub landing_targets_collection_link: Url,
pub path: String,
pub recipes_collection_link: Url,
pub repository_link: Url,
}Expand description
Representation of the git_ref-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.
commit_sha1: StringCommit SHA-1
The full SHA-1 object name of the commit object referenced by this reference.
dependent_landings_collection_link: UrlDependent landings
A collection of the merge proposals that are dependent on this reference.
landing_candidates_collection_link: UrlLanding candidates
A collection of the merge proposals where this reference is the target.
landing_targets_collection_link: UrlLanding targets
A collection of the merge proposals where this reference is the source.
path: StringPath
The full path of this reference, e.g. refs/heads/master.
recipes_collection_link: UrlAll recipes associated with the object.
repository_link: UrlRepository
The Git repository containing this reference.
Implementations§
Source§impl GitRefFull
impl GitRefFull
pub fn set_self_(&mut self, value: Option<GitRef>)
Sourcepub fn dependent_landings<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, BranchMergeProposalPage>, Error>
pub fn dependent_landings<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, BranchMergeProposalPage>, Error>
Dependent landings
A collection of the merge proposals that are dependent on this reference.
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 reference is the target.
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 reference is the source.
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 repository(&self) -> GitRepository
pub fn repository(&self) -> GitRepository
Repository
The Git repository containing this reference.
pub fn set_repository(&mut self, value: GitRepository)
Trait Implementations§
Source§impl Clone for GitRefFull
impl Clone for GitRefFull
Source§fn clone(&self) -> GitRefFull
fn clone(&self) -> GitRefFull
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more