pub struct TranslationImportQueueEntryFull {Show 15 fields
pub self_link: Option<Url>,
pub web_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub date_created: DateTime<Utc>,
pub date_status_changed: DateTime<Utc>,
pub distroseries_link: Url,
pub error_output: String,
pub format: Format,
pub id: String,
pub path: String,
pub productseries_link: Url,
pub sourcepackage_link: Url,
pub status: ImportStatus,
pub uploader_link: Url,
}Expand description
Representation of the translation_import_queue_entry-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.
date_created: DateTime<Utc>The timestamp when this queue entry was created.
date_status_changed: DateTime<Utc>The timestamp when the status was changed.
distroseries_link: UrlSeries
error_output: StringError output
Output from most recent import attempt.
format: FormatThe file format of the import.
id: StringThe entry ID
path: StringPath
The path to this file inside the source tree. Includes the filename.
productseries_link: UrlSeries
sourcepackage_link: UrlThe sourcepackage associated with this entry.
status: ImportStatusThe status of the import.
uploader_link: UrlUploader
The person that uploaded this file to Launchpad.
Implementations§
Source§impl TranslationImportQueueEntryFull
impl TranslationImportQueueEntryFull
Sourcepub fn self_(&self) -> Option<TranslationImportQueueEntry>
pub fn self_(&self) -> Option<TranslationImportQueueEntry>
The canonical link to this resource.
pub fn set_self_(&mut self, value: Option<TranslationImportQueueEntry>)
Sourcepub fn distroseries(&self) -> DistroSeries
pub fn distroseries(&self) -> DistroSeries
Series
pub fn set_distroseries(&mut self, value: DistroSeries)
Sourcepub fn productseries(&self) -> ProjectSeries
pub fn productseries(&self) -> ProjectSeries
Series
pub fn set_productseries(&mut self, value: ProjectSeries)
Sourcepub fn sourcepackage(&self) -> SourcePackage
pub fn sourcepackage(&self) -> SourcePackage
The sourcepackage associated with this entry.
pub fn set_sourcepackage(&mut self, value: SourcePackage)
pub fn set_uploader(&mut self, value: Person)
Trait Implementations§
Source§impl Clone for TranslationImportQueueEntryFull
impl Clone for TranslationImportQueueEntryFull
Source§fn clone(&self) -> TranslationImportQueueEntryFull
fn clone(&self) -> TranslationImportQueueEntryFull
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<'de> Deserialize<'de> for TranslationImportQueueEntryFull
impl<'de> Deserialize<'de> for TranslationImportQueueEntryFull
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 TranslationImportQueueEntryFull
impl PartialEq for TranslationImportQueueEntryFull
Source§fn eq(&self, other: &TranslationImportQueueEntryFull) -> bool
fn eq(&self, other: &TranslationImportQueueEntryFull) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TranslationImportQueueEntryFull
Auto Trait Implementations§
impl Freeze for TranslationImportQueueEntryFull
impl RefUnwindSafe for TranslationImportQueueEntryFull
impl Send for TranslationImportQueueEntryFull
impl Sync for TranslationImportQueueEntryFull
impl Unpin for TranslationImportQueueEntryFull
impl UnwindSafe for TranslationImportQueueEntryFull
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