pub struct StopRequest {
pub browser_profile_id: u64,
pub datadir: Option<NamedTempFile>,
pub diff: Option<NamedTempFile>,
pub hash: String,
pub previous_hash: Option<String>,
}Expand description
Request structure for stopping a browser profile.
This structure is used to receive multipart form data when stopping a browser profile, including the profile’s data directory and any incremental changes.
Fields§
§browser_profile_id: u64Unique identifier of the browser profile being stopped
datadir: Option<NamedTempFile>Complete data directory of the browser profile. Limited to 700MB to prevent excessive memory usage.
diff: Option<NamedTempFile>Incremental changes to the data directory since the last sync. Limited to 700MB to prevent excessive memory usage.
hash: StringCurrent hash of the data directory contents. Used to verify data integrity and track changes.
previous_hash: Option<String>Previous hash of the data directory contents. Used to verify the base state for incremental changes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StopRequest
impl RefUnwindSafe for StopRequest
impl Send for StopRequest
impl Sync for StopRequest
impl Unpin for StopRequest
impl UnwindSafe for StopRequest
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.