pub struct FileLinkParam<'a> {
pub file: Option<&'a str>,
pub expires_at: Option<i64>,
pub metadata: Option<HashMap<&'a str, &'a str>>,
pub expand: Option<Vec<&'a str>>,
}
Fields§
§file: Option<&'a str>
§expires_at: Option<i64>
§metadata: Option<HashMap<&'a str, &'a str>>
§expand: Option<Vec<&'a str>>
Trait Implementations§
Source§impl<'a> Debug for FileLinkParam<'a>
impl<'a> Debug for FileLinkParam<'a>
Source§impl<'a> Default for FileLinkParam<'a>
impl<'a> Default for FileLinkParam<'a>
Source§fn default() -> FileLinkParam<'a>
fn default() -> FileLinkParam<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> PartialEq for FileLinkParam<'a>
impl<'a> PartialEq for FileLinkParam<'a>
Source§impl<'a> Serialize for FileLinkParam<'a>
impl<'a> Serialize for FileLinkParam<'a>
impl<'a> StructuralPartialEq for FileLinkParam<'a>
Auto Trait Implementations§
impl<'a> Freeze for FileLinkParam<'a>
impl<'a> RefUnwindSafe for FileLinkParam<'a>
impl<'a> Send for FileLinkParam<'a>
impl<'a> Sync for FileLinkParam<'a>
impl<'a> Unpin for FileLinkParam<'a>
impl<'a> UnwindSafe for FileLinkParam<'a>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more