#[non_exhaustive]pub struct ApplyTarget {
pub keys: Option<Option<Vec<String>>>,
pub filter: Option<Option<ApplyFilter>>,
pub search: Option<Option<ApplySearch>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.keys: Option<Option<Vec<String>>>§filter: Option<Option<ApplyFilter>>§search: Option<Option<ApplySearch>>Implementations§
Source§impl ApplyTarget
impl ApplyTarget
pub fn new() -> Self
pub fn keys(self, keys: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn keys_null(self) -> Self
pub fn filter(self, filter: ApplyFilter) -> Self
pub fn filter_null(self) -> Self
pub fn search(self, search: ApplySearch) -> Self
pub fn search_null(self) -> Self
Trait Implementations§
Source§impl Clone for ApplyTarget
impl Clone for ApplyTarget
Source§impl Debug for ApplyTarget
impl Debug for ApplyTarget
Source§impl Default for ApplyTarget
impl Default for ApplyTarget
Source§impl<'de> Deserialize<'de> for ApplyTarget
impl<'de> Deserialize<'de> for ApplyTarget
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 ApplyTarget
impl PartialEq for ApplyTarget
Source§impl Serialize for ApplyTarget
impl Serialize for ApplyTarget
impl StructuralPartialEq for ApplyTarget
Auto Trait Implementations§
impl Forget for ApplyTarget
impl Freeze for ApplyTarget
impl Move for ApplyTarget
impl RefUnwindSafe for ApplyTarget
impl Send for ApplyTarget
impl Sync for ApplyTarget
impl Unpin for ApplyTarget
impl UnsafeUnpin for ApplyTarget
impl UnwindSafe for ApplyTarget
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