Struct plugin_request_interfaces::RsRequest
source · pub struct RsRequest {
pub url: String,
pub mime: Option<String>,
pub size: Option<u64>,
pub filename: Option<String>,
pub status: RsRequestStatus,
pub headers: Option<Vec<(String, String)>>,
pub files: Option<Vec<RsRequestFiles>>,
pub selected_file: Option<String>,
}
Fields§
§url: String
§mime: Option<String>
§size: Option<u64>
§filename: Option<String>
§status: RsRequestStatus
§headers: Option<Vec<(String, String)>>
§files: Option<Vec<RsRequestFiles>>
If must choose between multiple files. Recall plugin with a selected_file
containing one of the name in this list to get link
selected_file: Option<String>
one of the files
selected for download
Trait Implementations§
source§impl<'de> Deserialize<'de> for RsRequest
impl<'de> Deserialize<'de> for RsRequest
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 PartialEq for RsRequest
impl PartialEq for RsRequest
impl StructuralPartialEq for RsRequest
Auto Trait Implementations§
impl Freeze for RsRequest
impl RefUnwindSafe for RsRequest
impl Send for RsRequest
impl Sync for RsRequest
impl Unpin for RsRequest
impl UnwindSafe for RsRequest
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