pub struct PairConfig {
pub name: String,
pub base: PathBuf,
pub target: PathBuf,
pub source: SourceSide,
pub drive_id: Option<DriveId>,
pub ignore: Vec<String>,
pub delete_behavior: DeleteBehavior,
pub sounds: SoundConfig,
pub created_at: DateTime<Utc>,
}Fields§
§name: String§base: PathBuf§target: PathBuf§source: SourceSide§drive_id: Option<DriveId>§ignore: Vec<String>§delete_behavior: DeleteBehavior§sounds: SoundConfig§created_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for PairConfig
impl Clone for PairConfig
Source§fn clone(&self) -> PairConfig
fn clone(&self) -> PairConfig
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 PairConfig
impl Debug for PairConfig
Source§impl<'de> Deserialize<'de> for PairConfig
impl<'de> Deserialize<'de> for PairConfig
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 PairConfig
impl RefUnwindSafe for PairConfig
impl Send for PairConfig
impl Sync for PairConfig
impl Unpin for PairConfig
impl UnsafeUnpin for PairConfig
impl UnwindSafe for PairConfig
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