Struct svc_storage::postgres::SearchCol
source · pub struct SearchCol {
pub col_type: Type,
pub col_name: String,
pub value: Option<String>,
}
Expand description
struct to save search col values while processing the AdvancedSearchFilter needed to save column information for a search value so it can be converted later
Fields§
§col_type: Type
the [postgres_types::Type] of the column
col_name: String
the search column name as known in the database
value: Option<String>
the search field as String
Trait Implementations§
source§impl PartialEq for SearchCol
impl PartialEq for SearchCol
impl Eq for SearchCol
impl StructuralEq for SearchCol
impl StructuralPartialEq for SearchCol
Auto Trait Implementations§
impl RefUnwindSafe for SearchCol
impl Send for SearchCol
impl Sync for SearchCol
impl Unpin for SearchCol
impl UnwindSafe for SearchCol
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> CloneAny for T
impl<T> CloneAny for T
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§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> 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