pub enum ResourceVisibility {
Public,
PublicRestricted,
LoggedInUsers,
ProjectMembers,
}Expand description
Who can see a resource — derived from the resource’s full access-control list.
Answers “is this resource public?”. Classified by the highest access level granted to anonymous visitors or any logged-in user. The value is a translated dsp-cli domain term; raw permission codes never appear above the client boundary.
Variants§
Public
The resource is publicly readable without authentication.
PublicRestricted
The resource is publicly accessible but only in a restricted view (e.g. watermarked images). Full content requires authentication.
LoggedInUsers
The resource is visible to any logged-in user, but not to anonymous visitors.
ProjectMembers
The resource is only accessible to members of the project (or higher).
Implementations§
Trait Implementations§
Source§impl Clone for ResourceVisibility
impl Clone for ResourceVisibility
Source§fn clone(&self) -> ResourceVisibility
fn clone(&self) -> ResourceVisibility
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResourceVisibility
impl Debug for ResourceVisibility
Source§impl PartialEq for ResourceVisibility
impl PartialEq for ResourceVisibility
impl StructuralPartialEq for ResourceVisibility
Auto Trait Implementations§
impl Freeze for ResourceVisibility
impl RefUnwindSafe for ResourceVisibility
impl Send for ResourceVisibility
impl Sync for ResourceVisibility
impl Unpin for ResourceVisibility
impl UnsafeUnpin for ResourceVisibility
impl UnwindSafe for ResourceVisibility
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