pub struct CatalogQueryPrefix {
pub attribute_name: String,
pub attribute_prefix: String,
}Expand description
CatalogQueryPrefix : The query filter to return the search result whose named attribute values are prefixed by the specified attribute value.
Fields§
§attribute_name: StringThe name of the attribute to be searched.
attribute_prefix: StringThe desired prefix of the search attribute value.
Implementations§
Source§impl CatalogQueryPrefix
impl CatalogQueryPrefix
Sourcepub fn new(
attribute_name: String,
attribute_prefix: String,
) -> CatalogQueryPrefix
pub fn new( attribute_name: String, attribute_prefix: String, ) -> CatalogQueryPrefix
The query filter to return the search result whose named attribute values are prefixed by the specified attribute value.
Trait Implementations§
Source§impl Clone for CatalogQueryPrefix
impl Clone for CatalogQueryPrefix
Source§fn clone(&self) -> CatalogQueryPrefix
fn clone(&self) -> CatalogQueryPrefix
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CatalogQueryPrefix
impl Debug for CatalogQueryPrefix
Source§impl Default for CatalogQueryPrefix
impl Default for CatalogQueryPrefix
Source§fn default() -> CatalogQueryPrefix
fn default() -> CatalogQueryPrefix
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CatalogQueryPrefix
impl<'de> Deserialize<'de> for CatalogQueryPrefix
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 PartialEq for CatalogQueryPrefix
impl PartialEq for CatalogQueryPrefix
Source§impl Serialize for CatalogQueryPrefix
impl Serialize for CatalogQueryPrefix
impl StructuralPartialEq for CatalogQueryPrefix
Auto Trait Implementations§
impl Freeze for CatalogQueryPrefix
impl RefUnwindSafe for CatalogQueryPrefix
impl Send for CatalogQueryPrefix
impl Sync for CatalogQueryPrefix
impl Unpin for CatalogQueryPrefix
impl UnsafeUnpin for CatalogQueryPrefix
impl UnwindSafe for CatalogQueryPrefix
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