pub struct PageContentExportStatusResponse {
pub download_link: Option<String>,
pub error: Option<String>,
pub href: String,
pub id: String,
pub status: String,
}
Expand description
Response when requesting the status of a page content export.
JSON schema
{
"description": "Response when requesting the status of a page content
export.",
"type": "object",
"required": [
"href",
"id",
"status"
],
"properties": {
"downloadLink": {
"description": "Once the export completes, the location where the
resulting export file can be downloaded; this link typically expires
after a short time. Call this method again to get a fresh link.",
"examples": [
"https://coda.io/blobs/DOC_EXPORT_RENDERING/some-request-id"
],
"type": "string"
},
"error": {
"description": "Message describing an error, if this export
failed.",
"type": "string"
},
"href": {
"description": "The URL that reports the status of this export.",
"examples": [
"https://coda.io/apis/v1/docs/somedoc/pages/somepage/export/some-request-id"
],
"type": "string"
},
"id": {
"description": "The identifier of this export request.",
"examples": [
"AbCDeFGH"
],
"type": "string"
},
"status": {
"description": "The status of this export.",
"examples": [
"complete"
],
"type": "string"
}
},
"additionalProperties": false,
"x-schema-name": "PageContentExportStatusResponse"
}
Fields§
§download_link: Option<String>
Once the export completes, the location where the resulting export file can be downloaded; this link typically expires after a short time. Call this method again to get a fresh link.
error: Option<String>
Message describing an error, if this export failed.
href: String
The URL that reports the status of this export.
id: String
The identifier of this export request.
status: String
The status of this export.
Trait Implementations§
Source§impl Clone for PageContentExportStatusResponse
impl Clone for PageContentExportStatusResponse
Source§fn clone(&self) -> PageContentExportStatusResponse
fn clone(&self) -> PageContentExportStatusResponse
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 PageContentExportStatusResponse
impl<'de> Deserialize<'de> for PageContentExportStatusResponse
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 From<&PageContentExportStatusResponse> for PageContentExportStatusResponse
impl From<&PageContentExportStatusResponse> for PageContentExportStatusResponse
Source§fn from(value: &PageContentExportStatusResponse) -> Self
fn from(value: &PageContentExportStatusResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PageContentExportStatusResponse
impl RefUnwindSafe for PageContentExportStatusResponse
impl Send for PageContentExportStatusResponse
impl Sync for PageContentExportStatusResponse
impl Unpin for PageContentExportStatusResponse
impl UnwindSafe for PageContentExportStatusResponse
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