#[non_exhaustive]pub struct HistoryGetParams<'a> {
pub ids: Option<&'a [Id]>,
pub properties: Option<&'a [String]>,
pub arguments: &'a HistoryGetArguments,
}Expand description
The parameters of ObjectHistoryBackend::get_object_history.
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.ids: Option<&'a [Id]>ids; None for every object of the type, and with
includeDestroyed also “every destroyed object for which the server
still retains any version” (§3).
properties: Option<&'a [String]>properties without objectHistory; None for all.
arguments: &'a HistoryGetArgumentsThe parsed §3 arguments; at least one flag is true.
Implementations§
Source§impl<'a> HistoryGetParams<'a>
impl<'a> HistoryGetParams<'a>
Sourcepub fn new(arguments: &'a HistoryGetArguments) -> Self
pub fn new(arguments: &'a HistoryGetArguments) -> Self
Parameters for arguments, every object and every property.
Sourcepub fn properties(self, properties: Option<&'a [String]>) -> Self
pub fn properties(self, properties: Option<&'a [String]>) -> Self
Set properties.
Trait Implementations§
Source§impl<'a> Clone for HistoryGetParams<'a>
impl<'a> Clone for HistoryGetParams<'a>
impl<'a> Copy for HistoryGetParams<'a>
Auto Trait Implementations§
impl<'a> Forget for HistoryGetParams<'a>
impl<'a> Freeze for HistoryGetParams<'a>
impl<'a> Move for HistoryGetParams<'a>
impl<'a> RefUnwindSafe for HistoryGetParams<'a>
impl<'a> Send for HistoryGetParams<'a>
impl<'a> Sync for HistoryGetParams<'a>
impl<'a> Unpin for HistoryGetParams<'a>
impl<'a> UnsafeUnpin for HistoryGetParams<'a>
impl<'a> UnwindSafe for HistoryGetParams<'a>
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