#[non_exhaustive]pub struct ReadRepositoryFileResponse {
pub contents: Bytes,
/* private fields */
}Expand description
ReadRepositoryFile response message.
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.contents: BytesThe file’s contents.
Implementations§
Trait Implementations§
Source§impl Clone for ReadRepositoryFileResponse
impl Clone for ReadRepositoryFileResponse
Source§fn clone(&self) -> ReadRepositoryFileResponse
fn clone(&self) -> ReadRepositoryFileResponse
Returns a duplicate 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 Debug for ReadRepositoryFileResponse
impl Debug for ReadRepositoryFileResponse
Source§impl Default for ReadRepositoryFileResponse
impl Default for ReadRepositoryFileResponse
Source§fn default() -> ReadRepositoryFileResponse
fn default() -> ReadRepositoryFileResponse
Returns the “default value” for a type. Read more
Source§impl Message for ReadRepositoryFileResponse
impl Message for ReadRepositoryFileResponse
impl StructuralPartialEq for ReadRepositoryFileResponse
Auto Trait Implementations§
impl !Freeze for ReadRepositoryFileResponse
impl RefUnwindSafe for ReadRepositoryFileResponse
impl Send for ReadRepositoryFileResponse
impl Sync for ReadRepositoryFileResponse
impl Unpin for ReadRepositoryFileResponse
impl UnwindSafe for ReadRepositoryFileResponse
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