pub struct LoadUnpacked {
pub method: LoadUnpackedMethod,
pub params: LoadUnpackedParams,
}Expand description
Installs an unpacked extension from the filesystem similar to –load-extension CLI flags. Returns extension ID once the extension has been installed. Available if the client is connected using the –remote-debugging-pipe flag and the –enable-unsafe-extension-debugging flag is set. loadUnpacked
Fields§
§method: LoadUnpackedMethod§params: LoadUnpackedParamsImplementations§
Source§impl LoadUnpacked
impl LoadUnpacked
pub fn builder() -> LoadUnpackedBuilder
Source§impl LoadUnpacked
impl LoadUnpacked
pub const IDENTIFIER: &'static str = "Extensions.loadUnpacked"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for LoadUnpacked
impl Clone for LoadUnpacked
Source§fn clone(&self) -> LoadUnpacked
fn clone(&self) -> LoadUnpacked
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 LoadUnpacked
impl CommandResult for LoadUnpacked
type Result = LoadUnpackedResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for LoadUnpacked
impl Debug for LoadUnpacked
Source§impl<'de> Deserialize<'de> for LoadUnpacked
impl<'de> Deserialize<'de> for LoadUnpacked
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<LoadUnpacked> for BrowserProtocolCommands
impl From<LoadUnpacked> for BrowserProtocolCommands
Source§fn from(v: LoadUnpacked) -> Self
fn from(v: LoadUnpacked) -> Self
Converts to this type from the input type.
Source§impl From<LoadUnpacked> for Command
impl From<LoadUnpacked> for Command
Source§fn from(v: LoadUnpacked) -> Self
fn from(v: LoadUnpacked) -> Self
Converts to this type from the input type.
Source§impl From<LoadUnpacked> for ExtensionsCommands
impl From<LoadUnpacked> for ExtensionsCommands
Source§fn from(v: LoadUnpacked) -> Self
fn from(v: LoadUnpacked) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LoadUnpacked
impl PartialEq for LoadUnpacked
Source§impl Serialize for LoadUnpacked
impl Serialize for LoadUnpacked
Source§impl TryFrom<BrowserProtocolCommands> for LoadUnpacked
impl TryFrom<BrowserProtocolCommands> for LoadUnpacked
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, <LoadUnpacked as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <LoadUnpacked as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for LoadUnpacked
impl TryFrom<Command> for LoadUnpacked
Source§impl TryFrom<ExtensionsCommands> for LoadUnpacked
impl TryFrom<ExtensionsCommands> for LoadUnpacked
Source§type Error = ExtensionsCommands
type Error = ExtensionsCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: ExtensionsCommands,
) -> Result<Self, <LoadUnpacked as TryFrom<ExtensionsCommands>>::Error>
fn try_from( e: ExtensionsCommands, ) -> Result<Self, <LoadUnpacked as TryFrom<ExtensionsCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for LoadUnpacked
Auto Trait Implementations§
impl Freeze for LoadUnpacked
impl RefUnwindSafe for LoadUnpacked
impl Send for LoadUnpacked
impl Sync for LoadUnpacked
impl Unpin for LoadUnpacked
impl UnsafeUnpin for LoadUnpacked
impl UnwindSafe for LoadUnpacked
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