pub struct FindOne {
pub model: String,
pub where_clauses: Vec<Where>,
pub select: Vec<String>,
pub joins: IndexMap<String, JoinOption>,
}Expand description
Find-one query contract for adapters.
Fields§
§model: String§where_clauses: Vec<Where>§select: Vec<String>§joins: IndexMap<String, JoinOption>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FindOne
impl<'de> Deserialize<'de> for FindOne
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
impl StructuralPartialEq for FindOne
Auto Trait Implementations§
impl Freeze for FindOne
impl RefUnwindSafe for FindOne
impl Send for FindOne
impl Sync for FindOne
impl Unpin for FindOne
impl UnsafeUnpin for FindOne
impl UnwindSafe for FindOne
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