pub struct FoundationStorageApi { /* private fields */ }
Implementations
sourceimpl FoundationStorageApi
impl FoundationStorageApi
pub fn new(config: FoundationStorageApiConfig, lss_service: LssService) -> Self
pub fn request_free_tier_storage(
&self,
email: String
) -> Result<FreeTierProcessHandle, FsaError>
pub fn verify_email(
&self,
process_handle: &FreeTierProcessHandle,
verification_token: String
) -> Result<StorageTemplate, FsaError>
Trait Implementations
sourceimpl Clone for FoundationStorageApi
impl Clone for FoundationStorageApi
sourcefn clone(&self) -> FoundationStorageApi
fn clone(&self) -> FoundationStorageApi
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl !RefUnwindSafe for FoundationStorageApi
impl !Send for FoundationStorageApi
impl !Sync for FoundationStorageApi
impl Unpin for FoundationStorageApi
impl !UnwindSafe for FoundationStorageApi
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more