Struct hedera::FileContentsResponse
source · pub struct FileContentsResponse {
pub file_id: FileId,
pub contents: Vec<u8>,
}
Expand description
Response from FileContentsQuery
.
Fields§
§file_id: FileId
The file ID of the file whose contents are being returned.
contents: Vec<u8>
The bytes contained in the file.
Trait Implementations§
source§impl Clone for FileContentsResponse
impl Clone for FileContentsResponse
source§fn clone(&self) -> FileContentsResponse
fn clone(&self) -> FileContentsResponse
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 moreAuto Trait Implementations§
impl Freeze for FileContentsResponse
impl RefUnwindSafe for FileContentsResponse
impl Send for FileContentsResponse
impl Sync for FileContentsResponse
impl Unpin for FileContentsResponse
impl UnwindSafe for FileContentsResponse
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
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>
Wrap the input message
T
in a tonic::Request