Enum deno_runtime::permissions::RunDescriptor
source · pub enum RunDescriptor {
Name(String),
Path(PathBuf),
}
Variants§
Trait Implementations§
source§impl Clone for RunDescriptor
impl Clone for RunDescriptor
source§fn clone(&self) -> RunDescriptor
fn clone(&self) -> RunDescriptor
Returns a copy 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 RunDescriptor
impl Debug for RunDescriptor
source§impl FromStr for RunDescriptor
impl FromStr for RunDescriptor
source§impl Hash for RunDescriptor
impl Hash for RunDescriptor
source§impl PartialEq<RunDescriptor> for RunDescriptor
impl PartialEq<RunDescriptor> for RunDescriptor
source§fn eq(&self, other: &RunDescriptor) -> bool
fn eq(&self, other: &RunDescriptor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToString for RunDescriptor
impl ToString for RunDescriptor
impl Eq for RunDescriptor
impl StructuralEq for RunDescriptor
impl StructuralPartialEq for RunDescriptor
Auto Trait Implementations§
impl RefUnwindSafe for RunDescriptor
impl Send for RunDescriptor
impl Sync for RunDescriptor
impl Unpin for RunDescriptor
impl UnwindSafe for RunDescriptor
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.