pub struct Response {
pub filename: String,
pub address: IpAddr,
pub port: u16,
pub filesize: u64,
}Expand description
Represents a parsed DCC SEND response from the IRC bot.
Fields§
§filename: StringThe name of the file being sent.
address: IpAddrIP address of the sender.
port: u16Port number used for the DCC transfer.
filesize: u64Size of the file in bytes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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