pub enum Access {
Public,
Restricted,
}Expand description
Represents access level for the to-be publish package. Passed to wasm-pack publish as a flag, e.g. --access=public.
Variants§
Public
Access is granted to all. All unscoped packages must be public.
Restricted
Access is restricted, granted via npm permissions. Must be a scoped package.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Access
impl Send for Access
impl Sync for Access
impl Unpin for Access
impl UnwindSafe for Access
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