pub struct GetUsageAndQuota {
pub method: GetUsageAndQuotaMethod,
pub params: GetUsageAndQuotaParams,
}Expand description
Returns usage and quota in bytes. getUsageAndQuota
Fields§
§method: GetUsageAndQuotaMethod§params: GetUsageAndQuotaParamsImplementations§
Source§impl GetUsageAndQuota
impl GetUsageAndQuota
pub fn builder() -> GetUsageAndQuotaBuilder
Source§impl GetUsageAndQuota
impl GetUsageAndQuota
pub const IDENTIFIER: &'static str = "Storage.getUsageAndQuota"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetUsageAndQuota
impl Clone for GetUsageAndQuota
Source§fn clone(&self) -> GetUsageAndQuota
fn clone(&self) -> GetUsageAndQuota
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 GetUsageAndQuota
impl CommandResult for GetUsageAndQuota
type Result = GetUsageAndQuotaResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetUsageAndQuota
impl Debug for GetUsageAndQuota
Source§impl<'de> Deserialize<'de> for GetUsageAndQuota
impl<'de> Deserialize<'de> for GetUsageAndQuota
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<GetUsageAndQuota> for BrowserProtocolCommands
impl From<GetUsageAndQuota> for BrowserProtocolCommands
Source§fn from(v: GetUsageAndQuota) -> Self
fn from(v: GetUsageAndQuota) -> Self
Converts to this type from the input type.
Source§impl From<GetUsageAndQuota> for Command
impl From<GetUsageAndQuota> for Command
Source§fn from(v: GetUsageAndQuota) -> Self
fn from(v: GetUsageAndQuota) -> Self
Converts to this type from the input type.
Source§impl From<GetUsageAndQuota> for StorageCommands
impl From<GetUsageAndQuota> for StorageCommands
Source§fn from(v: GetUsageAndQuota) -> Self
fn from(v: GetUsageAndQuota) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetUsageAndQuota
impl PartialEq for GetUsageAndQuota
Source§impl Serialize for GetUsageAndQuota
impl Serialize for GetUsageAndQuota
Source§impl TryFrom<BrowserProtocolCommands> for GetUsageAndQuota
impl TryFrom<BrowserProtocolCommands> for GetUsageAndQuota
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, <GetUsageAndQuota as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetUsageAndQuota as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetUsageAndQuota
impl TryFrom<Command> for GetUsageAndQuota
Source§impl TryFrom<StorageCommands> for GetUsageAndQuota
impl TryFrom<StorageCommands> for GetUsageAndQuota
Source§type Error = StorageCommands
type Error = StorageCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: StorageCommands,
) -> Result<Self, <GetUsageAndQuota as TryFrom<StorageCommands>>::Error>
fn try_from( e: StorageCommands, ) -> Result<Self, <GetUsageAndQuota as TryFrom<StorageCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetUsageAndQuota
Auto Trait Implementations§
impl Freeze for GetUsageAndQuota
impl RefUnwindSafe for GetUsageAndQuota
impl Send for GetUsageAndQuota
impl Sync for GetUsageAndQuota
impl Unpin for GetUsageAndQuota
impl UnsafeUnpin for GetUsageAndQuota
impl UnwindSafe for GetUsageAndQuota
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