pub struct CredentialFile {
pub relative_path: String,
pub local_path: PathBuf,
pub is_dir: bool,
}Expand description
Credential file entry describing a single file to sync.
Fields§
§relative_path: StringRelative path within the provider’s namespace in the sync repo.
local_path: PathBufAbsolute path on the local filesystem.
is_dir: boolWhether this is a directory (recursive sync).
Trait Implementations§
Source§impl Clone for CredentialFile
impl Clone for CredentialFile
Source§fn clone(&self) -> CredentialFile
fn clone(&self) -> CredentialFile
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 Debug for CredentialFile
impl Debug for CredentialFile
Source§impl<'de> Deserialize<'de> for CredentialFile
impl<'de> Deserialize<'de> for CredentialFile
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
Auto Trait Implementations§
impl Freeze for CredentialFile
impl RefUnwindSafe for CredentialFile
impl Send for CredentialFile
impl Sync for CredentialFile
impl Unpin for CredentialFile
impl UnsafeUnpin for CredentialFile
impl UnwindSafe for CredentialFile
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