pub struct ListSnapshotsRequest {
pub max_entries: i32,
pub starting_token: String,
pub source_volume_id: String,
pub snapshot_id: String,
pub secrets: BTreeMap<String, String>,
}Expand description
List all snapshots on the storage system regardless of how they were created.
Fields§
§max_entries: i32If specified (non-zero value), the Plugin MUST NOT return more
entries than this number in the response. If the actual number of
entries is more than this number, the Plugin MUST set next_token
in the response which can be used to get the next page of entries
in the subsequent ListSnapshots call. This field is OPTIONAL. If
not specified (zero value), it means there is no restriction on the
number of entries that can be returned.
The value of this field MUST NOT be negative.
starting_token: StringA token to specify where to start paginating. Set this field to
next_token returned by a previous ListSnapshots call to get the
next page of entries. This field is OPTIONAL.
An empty string is equal to an unspecified field value.
source_volume_id: StringIdentity information for the source volume. This field is OPTIONAL. It can be used to list snapshots by volume.
snapshot_id: StringIdentity information for a specific snapshot. This field is OPTIONAL. It can be used to list only a specific snapshot. ListSnapshots will return with current snapshot information and will not block if the snapshot is being processed after it is cut.
secrets: BTreeMap<String, String>Secrets required by plugin to complete ListSnapshot request.
This field is OPTIONAL. Refer to the Secrets Requirements
section on how to use this field.
Trait Implementations§
Source§impl Clone for ListSnapshotsRequest
impl Clone for ListSnapshotsRequest
Source§fn clone(&self) -> ListSnapshotsRequest
fn clone(&self) -> ListSnapshotsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ListSnapshotsRequest
impl Debug for ListSnapshotsRequest
Source§impl Default for ListSnapshotsRequest
impl Default for ListSnapshotsRequest
Source§impl Message for ListSnapshotsRequest
impl Message for ListSnapshotsRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self.Source§impl PartialEq for ListSnapshotsRequest
impl PartialEq for ListSnapshotsRequest
impl StructuralPartialEq for ListSnapshotsRequest
Auto Trait Implementations§
impl Freeze for ListSnapshotsRequest
impl RefUnwindSafe for ListSnapshotsRequest
impl Send for ListSnapshotsRequest
impl Sync for ListSnapshotsRequest
impl Unpin for ListSnapshotsRequest
impl UnwindSafe for ListSnapshotsRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request