pub struct GetFileInfo {
pub method: GetFileInfoMethod,
pub params: GetFileInfoParams,
}Expand description
Returns file information for the given File wrapper. getFileInfo
Fields§
§method: GetFileInfoMethod§params: GetFileInfoParamsImplementations§
Source§impl GetFileInfo
impl GetFileInfo
pub fn builder() -> GetFileInfoBuilder
Source§impl GetFileInfo
impl GetFileInfo
pub const IDENTIFIER: &'static str = "DOM.getFileInfo"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetFileInfo
impl Clone for GetFileInfo
Source§fn clone(&self) -> GetFileInfo
fn clone(&self) -> GetFileInfo
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 CommandResult for GetFileInfo
impl CommandResult for GetFileInfo
type Result = GetFileInfoResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetFileInfo
impl Debug for GetFileInfo
Source§impl<'de> Deserialize<'de> for GetFileInfo
impl<'de> Deserialize<'de> for GetFileInfo
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 From<GetFileInfo> for BrowserProtocolCommands
impl From<GetFileInfo> for BrowserProtocolCommands
Source§fn from(v: GetFileInfo) -> Self
fn from(v: GetFileInfo) -> Self
Converts to this type from the input type.
Source§impl From<GetFileInfo> for Command
impl From<GetFileInfo> for Command
Source§fn from(v: GetFileInfo) -> Self
fn from(v: GetFileInfo) -> Self
Converts to this type from the input type.
Source§impl From<GetFileInfo> for DomCommands
impl From<GetFileInfo> for DomCommands
Source§fn from(v: GetFileInfo) -> Self
fn from(v: GetFileInfo) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetFileInfo
impl PartialEq for GetFileInfo
Source§impl Serialize for GetFileInfo
impl Serialize for GetFileInfo
Source§impl TryFrom<BrowserProtocolCommands> for GetFileInfo
impl TryFrom<BrowserProtocolCommands> for GetFileInfo
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <GetFileInfo as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetFileInfo as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetFileInfo
impl TryFrom<Command> for GetFileInfo
Source§impl TryFrom<DomCommands> for GetFileInfo
impl TryFrom<DomCommands> for GetFileInfo
Source§type Error = DomCommands
type Error = DomCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: DomCommands,
) -> Result<Self, <GetFileInfo as TryFrom<DomCommands>>::Error>
fn try_from( e: DomCommands, ) -> Result<Self, <GetFileInfo as TryFrom<DomCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetFileInfo
Auto Trait Implementations§
impl Freeze for GetFileInfo
impl RefUnwindSafe for GetFileInfo
impl Send for GetFileInfo
impl Sync for GetFileInfo
impl Unpin for GetFileInfo
impl UnsafeUnpin for GetFileInfo
impl UnwindSafe for GetFileInfo
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