pub struct UploadthingUrl {
pub url: String,
pub key: String,
}
Fields§
§url: String
The URL to which the thing should be uploaded.
key: String
The key associated with the uploaded thing, used for referencing it.
Trait Implementations§
Source§impl Debug for UploadthingUrl
impl Debug for UploadthingUrl
Source§impl<'de> Deserialize<'de> for UploadthingUrl
impl<'de> Deserialize<'de> for UploadthingUrl
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 UploadthingUrl
impl RefUnwindSafe for UploadthingUrl
impl Send for UploadthingUrl
impl Sync for UploadthingUrl
impl Unpin for UploadthingUrl
impl UnwindSafe for UploadthingUrl
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