Struct breez_sdk_liquid::model::BackupRequest
source · pub struct BackupRequest {
pub backup_path: Option<String>,
}
Expand description
An argument when calling crate::sdk::LiquidSdk::backup.
Fields§
§backup_path: Option<String>
Path to the backup.
If not set, it defaults to backup.sql
for mainnet and backup-testnet.sql
for testnet.
The file will be saved in ConnectRequest’s data_dir
.
Trait Implementations§
source§impl Debug for BackupRequest
impl Debug for BackupRequest
source§impl IntoDart for BackupRequest
impl IntoDart for BackupRequest
source§impl IntoIntoDart<BackupRequest> for BackupRequest
impl IntoIntoDart<BackupRequest> for BackupRequest
fn into_into_dart(self) -> BackupRequest
source§impl Serialize for BackupRequest
impl Serialize for BackupRequest
impl IntoDartExceptPrimitive for BackupRequest
Auto Trait Implementations§
impl Freeze for BackupRequest
impl RefUnwindSafe for BackupRequest
impl Send for BackupRequest
impl Sync for BackupRequest
impl Unpin for BackupRequest
impl UnwindSafe for BackupRequest
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> ⓘ
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request