pub struct TakeoutAdapter;Expand description
The Google Takeout import SourceAdapter.
Implementations§
Trait Implementations§
Source§impl Clone for TakeoutAdapter
impl Clone for TakeoutAdapter
Source§fn clone(&self) -> TakeoutAdapter
fn clone(&self) -> TakeoutAdapter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TakeoutAdapter
Source§impl Debug for TakeoutAdapter
impl Debug for TakeoutAdapter
Source§impl Default for TakeoutAdapter
impl Default for TakeoutAdapter
Source§fn default() -> TakeoutAdapter
fn default() -> TakeoutAdapter
Returns the “default value” for a type. Read more
Source§impl SourceAdapter for TakeoutAdapter
impl SourceAdapter for TakeoutAdapter
Source§fn provider(&self) -> ImportProvider
fn provider(&self) -> ImportProvider
The service this adapter migrates from.
Source§fn extract(&self, parts: &[PathBuf]) -> Result<ExtractedImport, AdapterError>
fn extract(&self, parts: &[PathBuf]) -> Result<ExtractedImport, AdapterError>
Walk the export
parts (one or more roots — a single export directory, or the several
extracted parts of a split archive) and produce the normalized entries. Split-archive
parts are merged: a media file in one part pairs with its exporter sidecar in another.Auto Trait Implementations§
impl Freeze for TakeoutAdapter
impl RefUnwindSafe for TakeoutAdapter
impl Send for TakeoutAdapter
impl Sync for TakeoutAdapter
impl Unpin for TakeoutAdapter
impl UnsafeUnpin for TakeoutAdapter
impl UnwindSafe for TakeoutAdapter
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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 more