pub struct MediaPathInfo {
pub network_path: Option<String>,
pub path: Option<String>,
}
Expand description
MediaPathInfo
JSON schema
{
"type": "object",
"properties": {
"NetworkPath": {
"type": [
"string",
"null"
]
},
"Path": {
"type": "string"
}
},
"additionalProperties": false
}
Fields§
§network_path: Option<String>
§path: Option<String>
Implementations§
Source§impl MediaPathInfo
impl MediaPathInfo
pub fn builder() -> MediaPathInfo
Trait Implementations§
Source§impl Clone for MediaPathInfo
impl Clone for MediaPathInfo
Source§fn clone(&self) -> MediaPathInfo
fn clone(&self) -> MediaPathInfo
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 MediaPathInfo
impl Debug for MediaPathInfo
Source§impl<'de> Deserialize<'de> for MediaPathInfo
impl<'de> Deserialize<'de> for MediaPathInfo
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
Source§impl From<&MediaPathInfo> for MediaPathInfo
impl From<&MediaPathInfo> for MediaPathInfo
Source§fn from(value: &MediaPathInfo) -> Self
fn from(value: &MediaPathInfo) -> Self
Converts to this type from the input type.
Source§impl From<MediaPathInfo> for MediaPathInfo
impl From<MediaPathInfo> for MediaPathInfo
Source§fn from(value: MediaPathInfo) -> Self
fn from(value: MediaPathInfo) -> Self
Converts to this type from the input type.
Source§impl Serialize for MediaPathInfo
impl Serialize for MediaPathInfo
Source§impl TryFrom<MediaPathInfo> for MediaPathInfo
impl TryFrom<MediaPathInfo> for MediaPathInfo
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: MediaPathInfo) -> Result<Self, ConversionError>
fn try_from(value: MediaPathInfo) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for MediaPathInfo
impl RefUnwindSafe for MediaPathInfo
impl Send for MediaPathInfo
impl Sync for MediaPathInfo
impl Unpin for MediaPathInfo
impl UnwindSafe for MediaPathInfo
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