pub struct PackageUdt {
pub created: i64,
pub description: String,
pub detached: bool,
pub digest: String,
pub functions_as_json: String,
pub id: Uuid,
pub kind: String,
pub name: String,
pub owners: Vec<String>,
pub types_as_json: String,
pub version: String,
}
Expand description
Defines the contents of a single Scylla database row that describes a package.
Fields§
§created: i64
§description: String
§detached: bool
§digest: String
§functions_as_json: String
§id: Uuid
§kind: String
§name: String
§owners: Vec<String>
§types_as_json: String
§version: String
Trait Implementations§
Source§impl Clone for PackageUdt
impl Clone for PackageUdt
Source§fn clone(&self) -> PackageUdt
fn clone(&self) -> PackageUdt
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 From<PackageUdt> for Package
impl From<PackageUdt> for Package
Source§fn from(row: PackageUdt) -> Self
fn from(row: PackageUdt) -> Self
Converts to this type from the input type.
Source§impl FromCqlVal<CqlValue> for PackageUdt
impl FromCqlVal<CqlValue> for PackageUdt
Source§impl SerializeCql for PackageUdt
impl SerializeCql for PackageUdt
Source§fn serialize<'b>(
&self,
typ: &ColumnType,
writer: CellWriter<'b>,
) -> Result<WrittenCellProof<'b>, SerializationError>
fn serialize<'b>( &self, typ: &ColumnType, writer: CellWriter<'b>, ) -> Result<WrittenCellProof<'b>, SerializationError>
Serializes the value to given CQL type. Read more
Source§impl TryFrom<PackageInfo> for PackageUdt
impl TryFrom<PackageInfo> for PackageUdt
Source§type Error = PackageError
type Error = PackageError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for PackageUdt
impl RefUnwindSafe for PackageUdt
impl Send for PackageUdt
impl Sync for PackageUdt
impl Unpin for PackageUdt
impl UnwindSafe for PackageUdt
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<T> FromCqlVal<Option<CqlValue>> for Twhere
T: FromCqlVal<CqlValue>,
impl<T> FromCqlVal<Option<CqlValue>> for Twhere
T: FromCqlVal<CqlValue>,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request