pub enum ArtifactDisclosure {
Public,
Restricted,
Unknown,
}Expand description
Generic content-addressed artifact.
This is the common substrate object for records and files that are not
only papers: trial registry snapshots, protocols, supplements, notebooks,
tables, figures, model outputs, lab files, and dataset manifests. Typed
objects such as Dataset and CodeArtifact still exist because they
carry stronger domain-specific fields. Artifact gives every byte or
pointer the same minimum durability contract.
Variants§
Trait Implementations§
Source§impl Clone for ArtifactDisclosure
impl Clone for ArtifactDisclosure
Source§fn clone(&self) -> ArtifactDisclosure
fn clone(&self) -> ArtifactDisclosure
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 moreimpl Copy for ArtifactDisclosure
Source§impl Debug for ArtifactDisclosure
impl Debug for ArtifactDisclosure
Source§impl Default for ArtifactDisclosure
impl Default for ArtifactDisclosure
Source§fn default() -> ArtifactDisclosure
fn default() -> ArtifactDisclosure
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ArtifactDisclosure
impl<'de> Deserialize<'de> for ArtifactDisclosure
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
impl Eq for ArtifactDisclosure
Source§impl PartialEq for ArtifactDisclosure
impl PartialEq for ArtifactDisclosure
Source§impl Serialize for ArtifactDisclosure
impl Serialize for ArtifactDisclosure
impl StructuralPartialEq for ArtifactDisclosure
Auto Trait Implementations§
impl Freeze for ArtifactDisclosure
impl RefUnwindSafe for ArtifactDisclosure
impl Send for ArtifactDisclosure
impl Sync for ArtifactDisclosure
impl Unpin for ArtifactDisclosure
impl UnsafeUnpin for ArtifactDisclosure
impl UnwindSafe for ArtifactDisclosure
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.