pub struct ModuleResourceId(/* private fields */);
Expand description
The id of a module resource
Implementations§
Trait Implementations§
Source§impl<'__expr> AsExpression<Nullable<Uuid>> for &'__expr ModuleResourceId
impl<'__expr> AsExpression<Nullable<Uuid>> for &'__expr ModuleResourceId
Source§type Expression = Bound<Nullable<Uuid>, &'__expr ModuleResourceId>
type Expression = Bound<Nullable<Uuid>, &'__expr ModuleResourceId>
The expression being returned
Source§fn as_expression(self) -> <Self as AsExpression<Nullable<Uuid>>>::Expression
fn as_expression(self) -> <Self as AsExpression<Nullable<Uuid>>>::Expression
Perform the conversion
Source§impl AsExpression<Nullable<Uuid>> for ModuleResourceId
impl AsExpression<Nullable<Uuid>> for ModuleResourceId
Source§type Expression = Bound<Nullable<Uuid>, ModuleResourceId>
type Expression = Bound<Nullable<Uuid>, ModuleResourceId>
The expression being returned
Source§fn as_expression(self) -> <Self as AsExpression<Nullable<Uuid>>>::Expression
fn as_expression(self) -> <Self as AsExpression<Nullable<Uuid>>>::Expression
Perform the conversion
Source§impl<'__expr> AsExpression<Uuid> for &'__expr ModuleResourceId
impl<'__expr> AsExpression<Uuid> for &'__expr ModuleResourceId
Source§type Expression = Bound<Uuid, &'__expr ModuleResourceId>
type Expression = Bound<Uuid, &'__expr ModuleResourceId>
The expression being returned
Source§fn as_expression(self) -> <Self as AsExpression<Uuid>>::Expression
fn as_expression(self) -> <Self as AsExpression<Uuid>>::Expression
Perform the conversion
Source§impl AsExpression<Uuid> for ModuleResourceId
impl AsExpression<Uuid> for ModuleResourceId
Source§type Expression = Bound<Uuid, ModuleResourceId>
type Expression = Bound<Uuid, ModuleResourceId>
The expression being returned
Source§fn as_expression(self) -> <Self as AsExpression<Uuid>>::Expression
fn as_expression(self) -> <Self as AsExpression<Uuid>>::Expression
Perform the conversion
Source§impl AsRef<Uuid> for ModuleResourceId
impl AsRef<Uuid> for ModuleResourceId
Source§impl Clone for ModuleResourceId
impl Clone for ModuleResourceId
Source§fn clone(&self) -> ModuleResourceId
fn clone(&self) -> ModuleResourceId
Returns a duplicate 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 ModuleResourceId
impl Debug for ModuleResourceId
Source§impl<'de> Deserialize<'de> for ModuleResourceId
impl<'de> Deserialize<'de> for ModuleResourceId
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 ModuleResourceId
impl Display for ModuleResourceId
Source§impl From<ModuleResourceId> for Uuid
impl From<ModuleResourceId> for Uuid
Source§fn from(value: ModuleResourceId) -> Self
fn from(value: ModuleResourceId) -> Self
Converts to this type from the input type.
Source§impl From<Uuid> for ModuleResourceId
impl From<Uuid> for ModuleResourceId
Source§impl<DB> FromSql<Uuid, DB> for ModuleResourceId
impl<DB> FromSql<Uuid, DB> for ModuleResourceId
Source§impl FromStr for ModuleResourceId
impl FromStr for ModuleResourceId
Source§impl Hash for ModuleResourceId
impl Hash for ModuleResourceId
Source§impl Ord for ModuleResourceId
impl Ord for ModuleResourceId
Source§fn cmp(&self, other: &ModuleResourceId) -> Ordering
fn cmp(&self, other: &ModuleResourceId) -> Ordering
1.21.0 · 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
Source§impl PartialEq for ModuleResourceId
impl PartialEq for ModuleResourceId
Source§impl PartialOrd for ModuleResourceId
impl PartialOrd for ModuleResourceId
Source§impl<__DB, __ST> Queryable<__ST, __DB> for ModuleResourceId
impl<__DB, __ST> Queryable<__ST, __DB> for ModuleResourceId
Source§impl Resource for ModuleResourceId
impl Resource for ModuleResourceId
Source§const PREFIX: &'static str = "/module_resources/"
const PREFIX: &'static str = "/module_resources/"
URI prefix of the ID of this resource Read more
Source§fn resource_id(&self) -> ResourceId
fn resource_id(&self) -> ResourceId
Returns path part of the URL to access this specific resource
Source§impl Serialize for ModuleResourceId
impl Serialize for ModuleResourceId
Source§impl<DB> ToSql<Uuid, DB> for ModuleResourceId
impl<DB> ToSql<Uuid, DB> for ModuleResourceId
impl Copy for ModuleResourceId
impl DieselNewtype<Uuid> for ModuleResourceId
impl Eq for ModuleResourceId
impl StructuralPartialEq for ModuleResourceId
Auto Trait Implementations§
impl Freeze for ModuleResourceId
impl RefUnwindSafe for ModuleResourceId
impl Send for ModuleResourceId
impl Sync for ModuleResourceId
impl Unpin for ModuleResourceId
impl UnwindSafe for ModuleResourceId
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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, ST, DB> FromSqlRow<ST, DB> for Twhere
T: Queryable<ST, DB>,
ST: SqlTypeOrSelectable,
DB: Backend,
<T as Queryable<ST, DB>>::Row: FromStaticSqlRow<ST, DB>,
impl<T, ST, DB> FromSqlRow<ST, DB> for Twhere
T: Queryable<ST, DB>,
ST: SqlTypeOrSelectable,
DB: Backend,
<T as Queryable<ST, DB>>::Row: FromStaticSqlRow<ST, DB>,
Source§impl<T, ST, DB> FromStaticSqlRow<ST, DB> for T
impl<T, ST, DB> FromStaticSqlRow<ST, DB> for T
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read moreSource§impl<T, E> KustosFromStr for T
impl<T, E> KustosFromStr for T
fn kustos_from_str(s: &str) -> Result<T, ResourceParseError>
Source§impl<T, ST, DB> StaticallySizedRow<ST, DB> for T
impl<T, ST, DB> StaticallySizedRow<ST, DB> for T
Source§const FIELD_COUNT: usize = <ST as crate::util::TupleSize>::SIZE
const FIELD_COUNT: usize = <ST as crate::util::TupleSize>::SIZE
The number of fields that this type will consume.