pub struct StorageConfiguration {
pub token: String,
pub storage_type: String,
pub local_path: String,
pub storage_uri: String,
pub user: String,
}Expand description
A storage location (SD card, NAS, etc.) returned by GetStorageConfigurations.
Per the ONVIF spec, all fields live inside the <Data> child element and
storage_type is the type attribute of that element.
Fields§
§token: String§storage_type: String"LocalStorage" or "NFS" — the type attribute of the Data element.
local_path: StringMount path on the device (e.g. "/mnt/sd").
storage_uri: StringNetwork URI for NFS / CIFS shares. Empty for local storage.
user: StringUsername for authenticated shares (empty if no credentials configured).
Trait Implementations§
Source§impl Clone for StorageConfiguration
impl Clone for StorageConfiguration
Source§fn clone(&self) -> StorageConfiguration
fn clone(&self) -> StorageConfiguration
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 moreAuto Trait Implementations§
impl Freeze for StorageConfiguration
impl RefUnwindSafe for StorageConfiguration
impl Send for StorageConfiguration
impl Sync for StorageConfiguration
impl Unpin for StorageConfiguration
impl UnsafeUnpin for StorageConfiguration
impl UnwindSafe for StorageConfiguration
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