pub struct RockRecipeBuildRequestFull {
pub self_link: Option<Url>,
pub web_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub architectures: String,
pub builds_collection_link: Url,
pub date_finished: DateTime<Utc>,
pub date_requested: DateTime<Utc>,
pub error_message: String,
pub recipe_link: Url,
pub status: CharmRecipeStatus,
}Expand description
Representation of the rock_recipe_build_request-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.
architectures: StringIf set, this request is limited to these architecture tags
builds_collection_link: UrlBuilds produced by this request
date_finished: DateTime<Utc>The time when this request finished
date_requested: DateTime<Utc>The time when this request was made
error_message: StringError message
recipe_link: UrlRock recipe
status: CharmRecipeStatusStatus
Implementations§
Source§impl RockRecipeBuildRequestFull
impl RockRecipeBuildRequestFull
Sourcepub fn self_(&self) -> Option<RockRecipeBuildRequest>
pub fn self_(&self) -> Option<RockRecipeBuildRequest>
The canonical link to this resource.
Sourcepub fn set_self_(&mut self, value: Option<RockRecipeBuildRequest>)
pub fn set_self_(&mut self, value: Option<RockRecipeBuildRequest>)
Set the self_link value.
Sourcepub fn builds<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, RockRecipeBuildPage>, Error>
pub fn builds<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, RockRecipeBuildPage>, Error>
Builds produced by this request
Sourcepub fn recipe(&self) -> RockRecipe
pub fn recipe(&self) -> RockRecipe
Rock recipe
Sourcepub fn set_recipe(&mut self, value: RockRecipe)
pub fn set_recipe(&mut self, value: RockRecipe)
Set the recipe_link value.
Trait Implementations§
Source§impl Clone for RockRecipeBuildRequestFull
impl Clone for RockRecipeBuildRequestFull
Source§fn clone(&self) -> RockRecipeBuildRequestFull
fn clone(&self) -> RockRecipeBuildRequestFull
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 RockRecipeBuildRequestFull
impl Debug for RockRecipeBuildRequestFull
Source§impl<'de> Deserialize<'de> for RockRecipeBuildRequestFull
impl<'de> Deserialize<'de> for RockRecipeBuildRequestFull
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 RockRecipeBuildRequestFull
impl PartialEq for RockRecipeBuildRequestFull
Source§fn eq(&self, other: &RockRecipeBuildRequestFull) -> bool
fn eq(&self, other: &RockRecipeBuildRequestFull) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RockRecipeBuildRequestFull
Auto Trait Implementations§
impl Freeze for RockRecipeBuildRequestFull
impl RefUnwindSafe for RockRecipeBuildRequestFull
impl Send for RockRecipeBuildRequestFull
impl Sync for RockRecipeBuildRequestFull
impl Unpin for RockRecipeBuildRequestFull
impl UnsafeUnpin for RockRecipeBuildRequestFull
impl UnwindSafe for RockRecipeBuildRequestFull
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