pub struct SignedUrl {
pub signature_expires: Option<OffsetDateTime>,
pub url: Option<String>,
}Expand description
A signed url allowing limited-time anonymous access to private resources.
Fields§
§signature_expires: Option<OffsetDateTime>Timestamp when access expires.
url: Option<String>The URL to allow access to.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SignedUrl
impl<'de> Deserialize<'de> for SignedUrl
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
impl StructuralPartialEq for SignedUrl
Auto Trait Implementations§
impl Freeze for SignedUrl
impl RefUnwindSafe for SignedUrl
impl Send for SignedUrl
impl Sync for SignedUrl
impl Unpin for SignedUrl
impl UnwindSafe for SignedUrl
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
Source§fn deserialize_with(body: ResponseBody) -> Result<D, Error>
fn deserialize_with(body: ResponseBody) -> Result<D, Error>
Deserialize the response body using the specified format. Read more