pub struct Bridge {
pub id: i32,
pub email: String,
pub scope: String,
pub cert_id: i32,
pub cas_id: i32,
}
Expand description
Bridges between this CA and an external CA
Fields§
§id: i32
§email: String
§scope: String
§cert_id: i32
§cas_id: i32
Trait Implementations§
Source§impl<'update> AsChangeset for &'update Bridge
impl<'update> AsChangeset for &'update Bridge
Source§type Changeset = <(Eq<email, <&'update String as AsExpression<<email as Expression>::SqlType>>::Expression>, Eq<scope, <&'update String as AsExpression<<scope as Expression>::SqlType>>::Expression>, Eq<cert_id, <&'update i32 as AsExpression<<cert_id as Expression>::SqlType>>::Expression>, Eq<cas_id, <&'update i32 as AsExpression<<cas_id as Expression>::SqlType>>::Expression>) as AsChangeset>::Changeset
type Changeset = <(Eq<email, <&'update String as AsExpression<<email as Expression>::SqlType>>::Expression>, Eq<scope, <&'update String as AsExpression<<scope as Expression>::SqlType>>::Expression>, Eq<cert_id, <&'update i32 as AsExpression<<cert_id as Expression>::SqlType>>::Expression>, Eq<cas_id, <&'update i32 as AsExpression<<cas_id as Expression>::SqlType>>::Expression>) as AsChangeset>::Changeset
The update statement this type represents
Source§fn as_changeset(self) -> Self::Changeset
fn as_changeset(self) -> Self::Changeset
Convert
self
into the actual update statement being executedSource§impl<'update> AsChangeset for Bridge
impl<'update> AsChangeset for Bridge
Source§type Changeset = <(Eq<email, <String as AsExpression<<email as Expression>::SqlType>>::Expression>, Eq<scope, <String as AsExpression<<scope as Expression>::SqlType>>::Expression>, Eq<cert_id, <i32 as AsExpression<<cert_id as Expression>::SqlType>>::Expression>, Eq<cas_id, <i32 as AsExpression<<cas_id as Expression>::SqlType>>::Expression>) as AsChangeset>::Changeset
type Changeset = <(Eq<email, <String as AsExpression<<email as Expression>::SqlType>>::Expression>, Eq<scope, <String as AsExpression<<scope as Expression>::SqlType>>::Expression>, Eq<cert_id, <i32 as AsExpression<<cert_id as Expression>::SqlType>>::Expression>, Eq<cas_id, <i32 as AsExpression<<cas_id as Expression>::SqlType>>::Expression>) as AsChangeset>::Changeset
The update statement this type represents
Source§fn as_changeset(self) -> Self::Changeset
fn as_changeset(self) -> Self::Changeset
Convert
self
into the actual update statement being executedSource§impl<'ident> Identifiable for &'ident Bridge
impl<'ident> Identifiable for &'ident Bridge
Auto Trait Implementations§
impl Freeze for Bridge
impl RefUnwindSafe for Bridge
impl Send for Bridge
impl Sync for Bridge
impl Unpin for Bridge
impl UnwindSafe for Bridge
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<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> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more