pub struct RecordSearchArg {
pub id: Option<(Option<u64>, Option<u64>)>,
pub created: Option<(Option<u64>, Option<u64>)>,
pub caller: Option<HashSet<CallerId>>,
pub topic: Option<HashSet<String>>,
pub content: Option<String>,
}Expand description
记录检索
Fields§
§id: Option<(Option<u64>, Option<u64>)>id 过滤
created: Option<(Option<u64>, Option<u64>)>创建时间过滤
caller: Option<HashSet<CallerId>>调用人过滤
topic: Option<HashSet<String>>主题过滤
content: Option<String>内容过滤
Implementations§
Source§impl RecordSearchArg
impl RecordSearchArg
Sourcepub fn into<E, F: Fn(&str) -> Result<RecordTopic, E>>(
self,
f: F,
) -> Result<RecordSearch, E>
pub fn into<E, F: Fn(&str) -> Result<RecordTopic, E>>( self, f: F, ) -> Result<RecordSearch, E>
参数转变
Trait Implementations§
Source§impl CandidType for RecordSearchArg
impl CandidType for RecordSearchArg
Source§impl Clone for RecordSearchArg
impl Clone for RecordSearchArg
Source§fn clone(&self) -> RecordSearchArg
fn clone(&self) -> RecordSearchArg
Returns a duplicate 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 RecordSearchArg
impl Debug for RecordSearchArg
Source§impl<'de> Deserialize<'de> for RecordSearchArg
impl<'de> Deserialize<'de> for RecordSearchArg
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
Auto Trait Implementations§
impl Freeze for RecordSearchArg
impl RefUnwindSafe for RecordSearchArg
impl Send for RecordSearchArg
impl Sync for RecordSearchArg
impl Unpin for RecordSearchArg
impl UnsafeUnpin for RecordSearchArg
impl UnwindSafe for RecordSearchArg
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