pub struct NodeGetVolumeStatsRequest {
pub volume_id: String,
pub volume_path: String,
pub staging_target_path: String,
}Fields§
§volume_id: StringThe ID of the volume. This field is REQUIRED.
volume_path: StringIt can be any valid path where volume was previously staged or published. It MUST be an absolute path in the root filesystem of the process serving this request. This is a REQUIRED field. This field overrides the general CSI size limit. SP SHOULD support the maximum path length allowed by the operating system/filesystem, but, at a minimum, SP MUST accept a max path length of at least 128 bytes.
staging_target_path: StringThe path where the volume is staged, if the plugin has the STAGE_UNSTAGE_VOLUME capability, otherwise empty. If not empty, it MUST be an absolute path in the root filesystem of the process serving this request. This field is OPTIONAL. This field overrides the general CSI size limit. SP SHOULD support the maximum path length allowed by the operating system/filesystem, but, at a minimum, SP MUST accept a max path length of at least 128 bytes.
Trait Implementations§
Source§impl Clone for NodeGetVolumeStatsRequest
impl Clone for NodeGetVolumeStatsRequest
Source§fn clone(&self) -> NodeGetVolumeStatsRequest
fn clone(&self) -> NodeGetVolumeStatsRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NodeGetVolumeStatsRequest
impl Debug for NodeGetVolumeStatsRequest
Source§impl Default for NodeGetVolumeStatsRequest
impl Default for NodeGetVolumeStatsRequest
Source§impl Message for NodeGetVolumeStatsRequest
impl Message for NodeGetVolumeStatsRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for NodeGetVolumeStatsRequest
impl PartialEq for NodeGetVolumeStatsRequest
Source§fn eq(&self, other: &NodeGetVolumeStatsRequest) -> bool
fn eq(&self, other: &NodeGetVolumeStatsRequest) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodeGetVolumeStatsRequest
Auto Trait Implementations§
impl Freeze for NodeGetVolumeStatsRequest
impl RefUnwindSafe for NodeGetVolumeStatsRequest
impl Send for NodeGetVolumeStatsRequest
impl Sync for NodeGetVolumeStatsRequest
impl Unpin for NodeGetVolumeStatsRequest
impl UnsafeUnpin for NodeGetVolumeStatsRequest
impl UnwindSafe for NodeGetVolumeStatsRequest
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