pub struct ProxyLinkRecord {
pub link_id: String,
pub proxy_path: PathBuf,
pub source_path: PathBuf,
pub health: LinkHealth,
pub source_size_bytes: u64,
pub source_checksum: Option<String>,
}Expand description
A record associating a proxy file with its original source media.
Fields§
§link_id: StringUnique link identifier.
proxy_path: PathBufPath to the proxy file.
source_path: PathBufExpected path to the original source file.
health: LinkHealthCurrent health status of the link.
source_size_bytes: u64File size of the source in bytes (for verification).
source_checksum: Option<String>Optional checksum of the source for identity verification.
Implementations§
Trait Implementations§
Source§impl Clone for ProxyLinkRecord
impl Clone for ProxyLinkRecord
Source§fn clone(&self) -> ProxyLinkRecord
fn clone(&self) -> ProxyLinkRecord
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 ProxyLinkRecord
impl Debug for ProxyLinkRecord
Source§impl PartialEq for ProxyLinkRecord
impl PartialEq for ProxyLinkRecord
impl Eq for ProxyLinkRecord
impl StructuralPartialEq for ProxyLinkRecord
Auto Trait Implementations§
impl Freeze for ProxyLinkRecord
impl RefUnwindSafe for ProxyLinkRecord
impl Send for ProxyLinkRecord
impl Sync for ProxyLinkRecord
impl Unpin for ProxyLinkRecord
impl UnsafeUnpin for ProxyLinkRecord
impl UnwindSafe for ProxyLinkRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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