pub struct NamedAsset {
pub id: String,
pub path: String,
}Expand description
模型预检时发现的配置 / 权重资产。
Fields§
§id: String资产 id。
path: String资产路径。
Trait Implementations§
Source§impl Clone for NamedAsset
impl Clone for NamedAsset
Source§impl Debug for NamedAsset
impl Debug for NamedAsset
Source§impl<'de> Deserialize<'de> for NamedAsset
impl<'de> Deserialize<'de> for NamedAsset
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 PartialEq for NamedAsset
impl PartialEq for NamedAsset
Source§impl Serialize for NamedAsset
impl Serialize for NamedAsset
impl StructuralPartialEq for NamedAsset
Auto Trait Implementations§
impl Freeze for NamedAsset
impl RefUnwindSafe for NamedAsset
impl Send for NamedAsset
impl Sync for NamedAsset
impl Unpin for NamedAsset
impl UnsafeUnpin for NamedAsset
impl UnwindSafe for NamedAsset
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