Struct ISearchQueryHelper
pub struct ISearchQueryHelper(/* private fields */);
Implementations§
§impl ISearchQueryHelper
impl ISearchQueryHelper
pub unsafe fn ConnectionString(&self) -> Result<PWSTR>
pub unsafe fn SetQueryContentLocale(&self, lcid: u32) -> Result<()>
pub unsafe fn QueryContentLocale(&self) -> Result<u32>
pub unsafe fn SetQueryKeywordLocale(&self, lcid: u32) -> Result<()>
pub unsafe fn QueryKeywordLocale(&self) -> Result<u32>
pub unsafe fn SetQueryTermExpansion( &self, expandterms: SEARCH_TERM_EXPANSION, ) -> Result<()>
pub unsafe fn QueryTermExpansion(&self) -> Result<SEARCH_TERM_EXPANSION>
pub unsafe fn SetQuerySyntax( &self, querysyntax: SEARCH_QUERY_SYNTAX, ) -> Result<()>
pub unsafe fn QuerySyntax(&self) -> Result<SEARCH_QUERY_SYNTAX>
pub unsafe fn SetQueryContentProperties<P0>(
&self,
pszcontentproperties: P0,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn QueryContentProperties(&self) -> Result<PWSTR>
pub unsafe fn SetQuerySelectColumns<P0>(
&self,
pszselectcolumns: P0,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn QuerySelectColumns(&self) -> Result<PWSTR>
pub unsafe fn SetQueryWhereRestrictions<P0>(
&self,
pszrestrictions: P0,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn QueryWhereRestrictions(&self) -> Result<PWSTR>
pub unsafe fn SetQuerySorting<P0>(&self, pszsorting: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn QuerySorting(&self) -> Result<PWSTR>
pub unsafe fn GenerateSQLFromUserQuery<P0>(&self, pszquery: P0) -> Result<PWSTR>where
P0: Param<PCWSTR>,
pub unsafe fn WriteProperties( &self, itemid: i32, dwnumberofcolumns: u32, pcolumns: *const PROPERTYKEY, pvalues: *const SEARCH_COLUMN_PROPERTIES, pftgathermodifiedtime: *const FILETIME, ) -> Result<()>
pub unsafe fn SetQueryMaxResults(&self, cmaxresults: i32) -> Result<()>
pub unsafe fn QueryMaxResults(&self) -> Result<i32>
Trait Implementations§
§impl CanInto<IUnknown> for ISearchQueryHelper
impl CanInto<IUnknown> for ISearchQueryHelper
§impl Clone for ISearchQueryHelper
impl Clone for ISearchQueryHelper
§fn clone(&self) -> ISearchQueryHelper
fn clone(&self) -> ISearchQueryHelper
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 more§impl Debug for ISearchQueryHelper
impl Debug for ISearchQueryHelper
§impl From<&ISearchQueryHelper> for &IUnknown
impl From<&ISearchQueryHelper> for &IUnknown
§fn from(value: &ISearchQueryHelper) -> Self
fn from(value: &ISearchQueryHelper) -> Self
Converts to this type from the input type.
§impl From<ISearchQueryHelper> for IUnknown
impl From<ISearchQueryHelper> for IUnknown
§fn from(value: ISearchQueryHelper) -> Self
fn from(value: ISearchQueryHelper) -> Self
Converts to this type from the input type.
§impl Interface for ISearchQueryHelper
impl Interface for ISearchQueryHelper
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for ISearchQueryHelper
impl PartialEq for ISearchQueryHelper
impl Eq for ISearchQueryHelper
impl StructuralPartialEq for ISearchQueryHelper
Auto Trait Implementations§
impl Freeze for ISearchQueryHelper
impl RefUnwindSafe for ISearchQueryHelper
impl !Send for ISearchQueryHelper
impl !Sync for ISearchQueryHelper
impl Unpin for ISearchQueryHelper
impl UnwindSafe for ISearchQueryHelper
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