Struct ft_sdk::EncryptedString
source · pub struct EncryptedString(/* private fields */);
Implementations§
source§impl EncryptedString
impl EncryptedString
sourcepub fn from_already_encrypted_string(input: String) -> Self
pub fn from_already_encrypted_string(input: String) -> Self
construct EncryptedString from an already encrypted string. useful for wrapping say string from a cookie.
Trait Implementations§
source§impl<'expr> AsExpression<Nullable<Text>> for &'expr EncryptedString
impl<'expr> AsExpression<Nullable<Text>> for &'expr EncryptedString
§type Expression = Bound<Nullable<Text>, &'expr EncryptedString>
type Expression = Bound<Nullable<Text>, &'expr EncryptedString>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl AsExpression<Nullable<Text>> for EncryptedString
impl AsExpression<Nullable<Text>> for EncryptedString
§type Expression = Bound<Nullable<Text>, EncryptedString>
type Expression = Bound<Nullable<Text>, EncryptedString>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl<'expr> AsExpression<Text> for &'expr EncryptedString
impl<'expr> AsExpression<Text> for &'expr EncryptedString
§type Expression = Bound<Text, &'expr EncryptedString>
type Expression = Bound<Text, &'expr EncryptedString>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl AsExpression<Text> for EncryptedString
impl AsExpression<Text> for EncryptedString
§type Expression = Bound<Text, EncryptedString>
type Expression = Bound<Text, EncryptedString>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl Clone for EncryptedString
impl Clone for EncryptedString
source§fn clone(&self) -> EncryptedString
fn clone(&self) -> EncryptedString
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 Debug for EncryptedString
impl Debug for EncryptedString
source§impl Display for EncryptedString
impl Display for EncryptedString
source§impl From<PlainText> for EncryptedString
impl From<PlainText> for EncryptedString
Auto Trait Implementations§
impl Freeze for EncryptedString
impl RefUnwindSafe for EncryptedString
impl Send for EncryptedString
impl Sync for EncryptedString
impl Unpin for EncryptedString
impl UnwindSafe for EncryptedString
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> 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 more