pub enum S3Visibility {
Public,
Private,
Signed,
None,
}Expand description
Visibility of files in S3.
Variants§
Public
Allows anyone to see the file.
Private
Only logged in users will be able to see the file.
Signed
Visible to logged in users, shared with a pre-signed URL.
None
Hides the file from everyone.
Trait Implementations§
Source§impl Clone for S3Visibility
impl Clone for S3Visibility
Source§fn clone(&self) -> S3Visibility
fn clone(&self) -> S3Visibility
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 S3Visibility
impl Debug for S3Visibility
Source§impl<'de> Deserialize<'de> for S3Visibility
impl<'de> Deserialize<'de> for S3Visibility
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 S3Visibility
impl RefUnwindSafe for S3Visibility
impl Send for S3Visibility
impl Sync for S3Visibility
impl Unpin for S3Visibility
impl UnwindSafe for S3Visibility
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