pub struct SnapshotStatusRequest<'a> {
pub url: Url<'a>,
}
Expand description
Get: /_snapshot/_status
Fields§
§url: Url<'a>
Implementations§
Source§impl<'a> SnapshotStatusRequest<'a>
impl<'a> SnapshotStatusRequest<'a>
Sourcepub fn for_repository<IRepository>(repository: IRepository) -> Selfwhere
IRepository: Into<Repository<'a>>,
pub fn for_repository<IRepository>(repository: IRepository) -> Selfwhere
IRepository: Into<Repository<'a>>,
Request to: /_snapshot/{repository}/_status
Sourcepub fn for_repository_snapshot<IRepository, ISnapshot>(
repository: IRepository,
snapshot: ISnapshot,
) -> Self
pub fn for_repository_snapshot<IRepository, ISnapshot>( repository: IRepository, snapshot: ISnapshot, ) -> Self
Request to: /_snapshot/{repository}/{snapshot}/_status
Trait Implementations§
Source§impl<'a> Clone for SnapshotStatusRequest<'a>
impl<'a> Clone for SnapshotStatusRequest<'a>
Source§fn clone(&self) -> SnapshotStatusRequest<'a>
fn clone(&self) -> SnapshotStatusRequest<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for SnapshotStatusRequest<'a>
impl<'a> Debug for SnapshotStatusRequest<'a>
Source§impl<'a> Into<HttpRequest<'a, &'static [u8]>> for SnapshotStatusRequest<'a>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for SnapshotStatusRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
fn into(self) -> HttpRequest<'a, DefaultBody>
Converts this type into the (usually inferred) input type.
Source§impl<'a> PartialEq for SnapshotStatusRequest<'a>
impl<'a> PartialEq for SnapshotStatusRequest<'a>
impl<'a> StructuralPartialEq for SnapshotStatusRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for SnapshotStatusRequest<'a>
impl<'a> RefUnwindSafe for SnapshotStatusRequest<'a>
impl<'a> Send for SnapshotStatusRequest<'a>
impl<'a> Sync for SnapshotStatusRequest<'a>
impl<'a> Unpin for SnapshotStatusRequest<'a>
impl<'a> UnwindSafe for SnapshotStatusRequest<'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