pub struct Constraints {
pub ids: Option<Vec<u32>>,
pub slugs: Option<Vec<String>>,
pub query: Option<String>,
pub phids: Option<Vec<Phid>>,
pub custom: Option<HashMap<String, Box<dyn Serializable + Send + Sync>>>,
}
Fields§
§ids: Option<Vec<u32>>
§slugs: Option<Vec<String>>
§query: Option<String>
§phids: Option<Vec<Phid>>
§custom: Option<HashMap<String, Box<dyn Serializable + Send + Sync>>>
Trait Implementations§
Source§impl Debug for Constraints
impl Debug for Constraints
Source§impl Default for Constraints
impl Default for Constraints
Source§fn default() -> Constraints
fn default() -> Constraints
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Constraints
impl !RefUnwindSafe for Constraints
impl Send for Constraints
impl Sync for Constraints
impl Unpin for Constraints
impl !UnwindSafe for Constraints
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