pub struct UploadResponse {
pub created_at: String,
pub image_id: String,
pub permalink_url: String,
pub thumb_url: String,
pub type: String,
pub url: String,
}Expand description
Gyazo API upload response structure.
Fields§
§created_at: StringTimestamp when the image was created.
image_id: StringUnique identifier of the uploaded image.
permalink_url: StringPermalink URL of the image.
thumb_url: StringURL of the thumbnail.
type: StringType of the response.
url: StringDirect URL to the uploaded image.
Trait Implementations§
Source§impl Debug for UploadResponse
impl Debug for UploadResponse
Source§impl<'de> Deserialize<'de> for UploadResponse
impl<'de> Deserialize<'de> for UploadResponse
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
Auto Trait Implementations§
impl Freeze for UploadResponse
impl RefUnwindSafe for UploadResponse
impl Send for UploadResponse
impl Sync for UploadResponse
impl Unpin for UploadResponse
impl UnwindSafe for UploadResponse
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