pub struct BookQuery {Show 18 fields
pub free: Option<Regex>,
pub title: Option<Regex>,
pub subtitle: Option<Regex>,
pub author: Option<Regex>,
pub year: Option<Regex>,
pub language: Option<Regex>,
pub publisher: Option<Regex>,
pub series: Option<Regex>,
pub edition: Option<Regex>,
pub volume: Option<Regex>,
pub number: Option<Regex>,
pub reading: Option<bool>,
pub new: Option<bool>,
pub finished: Option<bool>,
pub annotations: Option<bool>,
pub bookmarks: Option<bool>,
pub opened_after: Option<(bool, NaiveDateTime)>,
pub added_after: Option<(bool, NaiveDateTime)>,
}Fields§
§free: Option<Regex>§title: Option<Regex>§subtitle: Option<Regex>§year: Option<Regex>§language: Option<Regex>§publisher: Option<Regex>§series: Option<Regex>§edition: Option<Regex>§volume: Option<Regex>§number: Option<Regex>§reading: Option<bool>§new: Option<bool>§finished: Option<bool>§annotations: Option<bool>§bookmarks: Option<bool>§opened_after: Option<(bool, NaiveDateTime)>§added_after: Option<(bool, NaiveDateTime)>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BookQuery
impl RefUnwindSafe for BookQuery
impl Send for BookQuery
impl Sync for BookQuery
impl Unpin for BookQuery
impl UnwindSafe for BookQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.