pub struct FetchAssetResponse {
pub request_id: Id,
pub status: u8,
pub error_message: Vec<u8>,
pub asset_data: Vec<u8>,
}Fields§
§request_id: Id§status: u8§error_message: Vec<u8>§asset_data: Vec<u8>Implementations§
Source§impl FetchAssetResponse
impl FetchAssetResponse
pub fn into_message(self) -> DigitalisResult<Message>
Trait Implementations§
Source§impl Clone for FetchAssetResponse
impl Clone for FetchAssetResponse
Source§fn clone(&self) -> FetchAssetResponse
fn clone(&self) -> FetchAssetResponse
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 FetchAssetResponse
impl Debug for FetchAssetResponse
Source§impl From<FetchAssetResponse> for ServerBinaryMessage
impl From<FetchAssetResponse> for ServerBinaryMessage
Source§fn from(msg: FetchAssetResponse) -> Self
fn from(msg: FetchAssetResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FetchAssetResponse
impl PartialEq for FetchAssetResponse
impl Eq for FetchAssetResponse
impl StructuralPartialEq for FetchAssetResponse
Auto Trait Implementations§
impl Freeze for FetchAssetResponse
impl RefUnwindSafe for FetchAssetResponse
impl Send for FetchAssetResponse
impl Sync for FetchAssetResponse
impl Unpin for FetchAssetResponse
impl UnsafeUnpin for FetchAssetResponse
impl UnwindSafe for FetchAssetResponse
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