pub struct ConfluenceAttachment {
pub id: String,
pub title: String,
pub media_type: Option<String>,
pub file_size: Option<u64>,
pub download_url: Option<String>,
pub version: Option<u32>,
pub page_id: Option<String>,
pub file_id: Option<String>,
}Expand description
An attachment on a Confluence page.
Fields§
§id: StringAttachment ID (used for delete and get).
title: StringDisplay title (filename).
media_type: Option<String>MIME type, when reported by the API.
file_size: Option<u64>File size in bytes, when reported by the API.
download_url: Option<String>Download URL path or absolute URL, when reported by the API.
version: Option<u32>Version number, when reported by the API.
page_id: Option<String>Owning page ID, when reported by the API.
file_id: Option<String>Underlying file ID, when reported by the API.
Trait Implementations§
Source§impl Clone for ConfluenceAttachment
impl Clone for ConfluenceAttachment
Source§fn clone(&self) -> ConfluenceAttachment
fn clone(&self) -> ConfluenceAttachment
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 ConfluenceAttachment
impl Debug for ConfluenceAttachment
Auto Trait Implementations§
impl Freeze for ConfluenceAttachment
impl RefUnwindSafe for ConfluenceAttachment
impl Send for ConfluenceAttachment
impl Sync for ConfluenceAttachment
impl Unpin for ConfluenceAttachment
impl UnsafeUnpin for ConfluenceAttachment
impl UnwindSafe for ConfluenceAttachment
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