pub struct SurfaceStorageContext {
pub cache_root: Option<String>,
pub artifact_root: Option<String>,
pub model_root: Option<String>,
}Fields§
§cache_root: Option<String>§artifact_root: Option<String>§model_root: Option<String>Trait Implementations§
Source§impl Clone for SurfaceStorageContext
impl Clone for SurfaceStorageContext
Source§fn clone(&self) -> SurfaceStorageContext
fn clone(&self) -> SurfaceStorageContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SurfaceStorageContext
impl Debug for SurfaceStorageContext
Source§impl Default for SurfaceStorageContext
impl Default for SurfaceStorageContext
Source§fn default() -> SurfaceStorageContext
fn default() -> SurfaceStorageContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SurfaceStorageContext
impl<'de> Deserialize<'de> for SurfaceStorageContext
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
impl Eq for SurfaceStorageContext
Source§impl PartialEq for SurfaceStorageContext
impl PartialEq for SurfaceStorageContext
Source§fn eq(&self, other: &SurfaceStorageContext) -> bool
fn eq(&self, other: &SurfaceStorageContext) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SurfaceStorageContext
impl Serialize for SurfaceStorageContext
impl StructuralPartialEq for SurfaceStorageContext
Auto Trait Implementations§
impl Freeze for SurfaceStorageContext
impl RefUnwindSafe for SurfaceStorageContext
impl Send for SurfaceStorageContext
impl Sync for SurfaceStorageContext
impl Unpin for SurfaceStorageContext
impl UnsafeUnpin for SurfaceStorageContext
impl UnwindSafe for SurfaceStorageContext
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