pub struct HistoryQuery {
pub working_directory: Option<String>,
pub limit: u16,
}Fields§
§working_directory: Option<String>§limit: u16Implementations§
Source§impl HistoryQuery
impl HistoryQuery
pub fn validate(&self) -> Result<(), HistoryValidationError>
Trait Implementations§
Source§impl Clone for HistoryQuery
impl Clone for HistoryQuery
Source§fn clone(&self) -> HistoryQuery
fn clone(&self) -> HistoryQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HistoryQuery
impl Debug for HistoryQuery
Source§impl<'de> Deserialize<'de> for HistoryQuery
impl<'de> Deserialize<'de> for HistoryQuery
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 Eq for HistoryQuery
Source§impl PartialEq for HistoryQuery
impl PartialEq for HistoryQuery
Source§impl Serialize for HistoryQuery
impl Serialize for HistoryQuery
impl StructuralPartialEq for HistoryQuery
Auto Trait Implementations§
impl Freeze for HistoryQuery
impl RefUnwindSafe for HistoryQuery
impl Send for HistoryQuery
impl Sync for HistoryQuery
impl Unpin for HistoryQuery
impl UnsafeUnpin for HistoryQuery
impl UnwindSafe for HistoryQuery
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