[−][src]Struct cortex::models::NewService
Insertable struct for Service
Fields
name: String
a human-readable name
version: f32
a floating-point number to mark the current version (e.g. 0.01)
inputformat: String
the expected input format (e.g. tex)
outputformat: String
the produced output format (e.g. html)
inputconverter: Option<String>
prerequisite input conversion service, if any
complex: bool
is this service requiring more than the main textual content of a document? mark "true" if unsure
description: String
a human-readable description
Trait Implementations
impl Clone for NewService
[src]
fn clone(&self) -> NewService
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl CortexInsertable for NewService
[src]
impl Debug for NewService
[src]
impl<'insert> Insertable<table> for NewService
[src]
type Values = <(Option<Eq<name, String>>, Option<Eq<version, f32>>, Option<Eq<inputformat, String>>, Option<Eq<outputformat, String>>, Option<Eq<inputconverter, String>>, Option<Eq<complex, bool>>, Option<Eq<description, String>>) as Insertable<table>>::Values
The VALUES
clause to insert these records Read more
fn values(self) -> Self::Values
[src]
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
impl<'insert> Insertable<table> for &'insert NewService
[src]
type Values = <(Option<Eq<name, &'insert String>>, Option<Eq<version, &'insert f32>>, Option<Eq<inputformat, &'insert String>>, Option<Eq<outputformat, &'insert String>>, Option<Eq<inputconverter, &'insert String>>, Option<Eq<complex, &'insert bool>>, Option<Eq<description, &'insert String>>) as Insertable<table>>::Values
The VALUES
clause to insert these records Read more
fn values(self) -> Self::Values
[src]
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
impl<'insert> UndecoratedInsertRecord<table> for NewService
[src]
Auto Trait Implementations
impl RefUnwindSafe for NewService
impl Send for NewService
impl Sync for NewService
impl Unpin for NewService
impl UnwindSafe for NewService
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, I> AsResult<T, I> for T where
I: Input,
I: Input,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
A: Array<Item = T>,
fn mapped<U, F, A>(self, f: F) -> SmallVec<A> where
A: Array<Item = U>,
F: FnMut(T) -> U,
A: Array<Item = U>,
F: FnMut(T) -> U,
impl<T> IntoSql for T
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
&'a Self: AsExpression<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,