pub struct LfsActions {
pub upload: Option<LfsHrefMint>,
pub download: Option<LfsHrefMint>,
}Expand description
The per-object action grants (the LFS shape: upload rides the
absent objects’ answers for an upload batch, download the
present ones for a download batch; at most one side is populated
per response object).
Fields§
§upload: Option<LfsHrefMint>The upload-action mint input (present when the media is absent and the caller means to upload).
download: Option<LfsHrefMint>The download-action mint input (present when the media is present and the caller means to download).
Trait Implementations§
Source§impl Clone for LfsActions
impl Clone for LfsActions
Source§impl Debug for LfsActions
impl Debug for LfsActions
impl Eq for LfsActions
Source§impl PartialEq for LfsActions
impl PartialEq for LfsActions
impl StructuralPartialEq for LfsActions
Auto Trait Implementations§
impl Freeze for LfsActions
impl RefUnwindSafe for LfsActions
impl Send for LfsActions
impl Sync for LfsActions
impl Unpin for LfsActions
impl UnsafeUnpin for LfsActions
impl UnwindSafe for LfsActions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.