Struct teaclave_types::StagedFiles
source · [−]pub struct StagedFiles { /* private fields */ }
Implementations
sourceimpl StagedFiles
impl StagedFiles
pub fn new(entries: HashMap<String, StagedFileInfo>) -> Self
pub fn get(&self, key: &str) -> Option<&StagedFileInfo>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations
sourceimpl Clone for StagedFiles
impl Clone for StagedFiles
sourcefn clone(&self) -> StagedFiles
fn clone(&self) -> StagedFiles
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for StagedFiles
impl Debug for StagedFiles
sourceimpl Default for StagedFiles
impl Default for StagedFiles
sourcefn default() -> StagedFiles
fn default() -> StagedFiles
Returns the “default value” for a type. Read more
sourceimpl FromIterator<(String, StagedFileInfo)> for StagedFiles
impl FromIterator<(String, StagedFileInfo)> for StagedFiles
sourcefn from_iter<T: IntoIterator<Item = (String, StagedFileInfo)>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = (String, StagedFileInfo)>>(iter: T) -> Self
Creates a value from an iterator. Read more
Auto Trait Implementations
impl RefUnwindSafe for StagedFiles
impl Send for StagedFiles
impl Sync for StagedFiles
impl Unpin for StagedFiles
impl UnwindSafe for StagedFiles
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more