#[non_exhaustive]pub struct BrowserDownloadCompleted {
pub download_id: String,
pub url: String,
pub path: Option<String>,
pub size_bytes: Option<u64>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.download_id: String§url: String§path: Option<String>§size_bytes: Option<u64>§rest: RestImplementations§
Source§impl BrowserDownloadCompleted
impl BrowserDownloadCompleted
Sourcepub fn builder(
download_id: String,
url: String,
) -> BrowserDownloadCompletedBuilder
pub fn builder( download_id: String, url: String, ) -> BrowserDownloadCompletedBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for BrowserDownloadCompleted
impl Clone for BrowserDownloadCompleted
Source§impl Debug for BrowserDownloadCompleted
impl Debug for BrowserDownloadCompleted
Source§impl DeclaredFields for BrowserDownloadCompleted
impl DeclaredFields for BrowserDownloadCompleted
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for BrowserDownloadCompleted
impl<'de> Deserialize<'de> for BrowserDownloadCompleted
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
impl Eq for BrowserDownloadCompleted
Source§impl PartialEq for BrowserDownloadCompleted
impl PartialEq for BrowserDownloadCompleted
Source§impl Serialize for BrowserDownloadCompleted
impl Serialize for BrowserDownloadCompleted
impl StructuralPartialEq for BrowserDownloadCompleted
Auto Trait Implementations§
impl Freeze for BrowserDownloadCompleted
impl RefUnwindSafe for BrowserDownloadCompleted
impl Send for BrowserDownloadCompleted
impl Sync for BrowserDownloadCompleted
impl Unpin for BrowserDownloadCompleted
impl UnsafeUnpin for BrowserDownloadCompleted
impl UnwindSafe for BrowserDownloadCompleted
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