Struct openvet_storage::database::InsertRustCrateVersion
source · pub struct InsertRustCrateVersion {
pub krate: CrateName,
pub version: Version,
}Fields§
§krate: CrateName§version: VersionTrait Implementations§
source§impl Debug for InsertRustCrateVersion
impl Debug for InsertRustCrateVersion
source§impl<'de> Deserialize<'de> for InsertRustCrateVersion
impl<'de> Deserialize<'de> for InsertRustCrateVersion
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 Insert for InsertRustCrateVersion
impl Insert for InsertRustCrateVersion
fn table(&self) -> &str
fn column(&self, name: &str) -> Option<&str>
fn insert_or_ignore(&self, connection: &Connection) -> Result<i64, InsertError>
fn insert_or_update(&self, connection: &Connection) -> Result<i64, InsertError>
fn insert(&self, connection: &Connection) -> Result<i64, InsertError>
Auto Trait Implementations§
impl Freeze for InsertRustCrateVersion
impl RefUnwindSafe for InsertRustCrateVersion
impl Send for InsertRustCrateVersion
impl Sync for InsertRustCrateVersion
impl Unpin for InsertRustCrateVersion
impl UnwindSafe for InsertRustCrateVersion
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<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 more