pub struct ImageMetadata {
pub name: String,
pub location: String,
pub short_sha: String,
pub size: i64,
pub created_at: String,
}
Fields§
§name: String
§location: String
§short_sha: String
§size: i64
§created_at: String
Implementations§
Source§impl ImageMetadata
impl ImageMetadata
pub fn builder() -> ImageMetadataBuilder
Trait Implementations§
Source§impl Clone for ImageMetadata
impl Clone for ImageMetadata
Source§fn clone(&self) -> ImageMetadata
fn clone(&self) -> ImageMetadata
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 From<GitlabImageMetadataFields> for ImageMetadata
impl From<GitlabImageMetadataFields> for ImageMetadata
Source§fn from(data: GitlabImageMetadataFields) -> Self
fn from(data: GitlabImageMetadataFields) -> Self
Converts to this type from the input type.
Source§impl From<ImageMetadata> for DisplayBody
impl From<ImageMetadata> for DisplayBody
Source§fn from(metadata: ImageMetadata) -> DisplayBody
fn from(metadata: ImageMetadata) -> DisplayBody
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ImageMetadata
impl RefUnwindSafe for ImageMetadata
impl Send for ImageMetadata
impl Sync for ImageMetadata
impl Unpin for ImageMetadata
impl UnwindSafe for ImageMetadata
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