pub struct DataRepoName(/* private fields */);Expand description
The name of a data repository, as a DataSet names it: lowercase
letters, digits and -, starting with a letter or digit, at most 63
bytes (0.103). Nothing in it can name a path outside a directory of
repositories (no ., / or \), so a server may join it to one before
touching the filesystem.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for DataRepoName
impl AsRef<str> for DataRepoName
Source§impl Clone for DataRepoName
impl Clone for DataRepoName
Source§impl Debug for DataRepoName
impl Debug for DataRepoName
Source§impl<'de> Deserialize<'de> for DataRepoName
impl<'de> Deserialize<'de> for DataRepoName
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
Source§impl Display for DataRepoName
impl Display for DataRepoName
impl Eq for DataRepoName
Source§impl From<DataRepoName> for String
impl From<DataRepoName> for String
Source§fn from(name: DataRepoName) -> Self
fn from(name: DataRepoName) -> Self
Converts to this type from the input type.
Source§impl FromStr for DataRepoName
impl FromStr for DataRepoName
Source§impl Hash for DataRepoName
impl Hash for DataRepoName
Source§impl Ord for DataRepoName
impl Ord for DataRepoName
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DataRepoName
impl PartialEq for DataRepoName
Source§impl PartialOrd for DataRepoName
impl PartialOrd for DataRepoName
Source§impl Serialize for DataRepoName
impl Serialize for DataRepoName
impl StructuralPartialEq for DataRepoName
Auto Trait Implementations§
impl Freeze for DataRepoName
impl RefUnwindSafe for DataRepoName
impl Send for DataRepoName
impl Sync for DataRepoName
impl Unpin for DataRepoName
impl UnsafeUnpin for DataRepoName
impl UnwindSafe for DataRepoName
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T, O> Matches<O> for Twhere
T: PartialEq<O>,
impl<T, O> Matches<O> for Twhere
T: PartialEq<O>,
fn validate_matches(&self, other: &O) -> bool
impl<T> PendingHandle for Twhere
T: Send + 'static,
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more