pub struct PresignResponseModel {
pub presign_url: String,
}Expand description
PresignResponseModel
JSON schema
{
"type": "object",
"required": [
"presignUrl"
],
"properties": {
"presignUrl": {
"description": "Presigned upload URL",
"examples": [
"https://uploads.pinata.cloud/v3/files/sign/..."
],
"type": "string"
}
}
}Fields§
§presign_url: StringPresigned upload URL
Implementations§
Source§impl PresignResponseModel
impl PresignResponseModel
pub fn builder() -> PresignResponseModel
Trait Implementations§
Source§impl Clone for PresignResponseModel
impl Clone for PresignResponseModel
Source§fn clone(&self) -> PresignResponseModel
fn clone(&self) -> PresignResponseModel
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 Debug for PresignResponseModel
impl Debug for PresignResponseModel
Source§impl<'de> Deserialize<'de> for PresignResponseModel
impl<'de> Deserialize<'de> for PresignResponseModel
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<&PresignResponseModel> for PresignResponseModel
impl From<&PresignResponseModel> for PresignResponseModel
Source§fn from(value: &PresignResponseModel) -> Self
fn from(value: &PresignResponseModel) -> Self
Converts to this type from the input type.
Source§impl From<PresignResponseModel> for PresignResponseModel
impl From<PresignResponseModel> for PresignResponseModel
Source§fn from(value: PresignResponseModel) -> Self
fn from(value: PresignResponseModel) -> Self
Converts to this type from the input type.
Source§impl Serialize for PresignResponseModel
impl Serialize for PresignResponseModel
Source§impl TryFrom<PresignResponseModel> for PresignResponseModel
impl TryFrom<PresignResponseModel> for PresignResponseModel
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PresignResponseModel) -> Result<Self, ConversionError>
fn try_from(value: PresignResponseModel) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PresignResponseModel
impl RefUnwindSafe for PresignResponseModel
impl Send for PresignResponseModel
impl Sync for PresignResponseModel
impl Unpin for PresignResponseModel
impl UnsafeUnpin for PresignResponseModel
impl UnwindSafe for PresignResponseModel
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