pub struct TransferResponse {
pub accepted: bool,
pub message: Option<String>,
pub token: Option<String>,
}Expand description
Response to a transfer request
Fields§
§accepted: boolWhether the transfer was accepted
message: Option<String>Optional message (e.g., rejection reason)
token: Option<String>Token for subsequent chunk uploads (if accepted)
Trait Implementations§
Source§impl Clone for TransferResponse
impl Clone for TransferResponse
Source§fn clone(&self) -> TransferResponse
fn clone(&self) -> TransferResponse
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 TransferResponse
impl Debug for TransferResponse
Source§impl<'de> Deserialize<'de> for TransferResponse
impl<'de> Deserialize<'de> for TransferResponse
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
Auto Trait Implementations§
impl Freeze for TransferResponse
impl RefUnwindSafe for TransferResponse
impl Send for TransferResponse
impl Sync for TransferResponse
impl Unpin for TransferResponse
impl UnwindSafe for TransferResponse
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