pub struct GetFilePartReq<B> {
pub hash: Hash,
pub start: u64,
pub len: u64,
/* private fields */
}Expand description
Get File Part
Can be accessed by anyone
Fields§
§hash: Hash§start: u64§len: u64Implementations§
Trait Implementations§
Source§impl<B: Clone> Clone for GetFilePartReq<B>
impl<B: Clone> Clone for GetFilePartReq<B>
Source§fn clone(&self) -> GetFilePartReq<B>
fn clone(&self) -> GetFilePartReq<B>
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<B: Debug> Debug for GetFilePartReq<B>
impl<B: Debug> Debug for GetFilePartReq<B>
Source§impl<'de, B> Deserialize<'de> for GetFilePartReq<B>
impl<'de, B> Deserialize<'de> for GetFilePartReq<B>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<B> FromMessage<Action, B> for GetFilePartReq<B>where
B: PacketBytes,
impl<B> FromMessage<Action, B> for GetFilePartReq<B>where
B: PacketBytes,
fn from_message(msg: Message<Action, B>) -> StdResult<Self, MessageError>
Source§impl<B> IntoMessage<Action, B> for GetFilePartReq<B>where
B: PacketBytes,
impl<B> IntoMessage<Action, B> for GetFilePartReq<B>where
B: PacketBytes,
fn into_message(self) -> StdResult<Message<Action, B>, MessageError>
Source§impl<B> Request for GetFilePartReq<B>
impl<B> Request for GetFilePartReq<B>
Auto Trait Implementations§
impl<B> Freeze for GetFilePartReq<B>
impl<B> RefUnwindSafe for GetFilePartReq<B>where
B: RefUnwindSafe,
impl<B> Send for GetFilePartReq<B>where
B: Send,
impl<B> Sync for GetFilePartReq<B>where
B: Sync,
impl<B> Unpin for GetFilePartReq<B>where
B: Unpin,
impl<B> UnwindSafe for GetFilePartReq<B>where
B: UnwindSafe,
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