pub struct SharedResource {
pub id: Uuid,
pub name: String,
pub resource_type: String,
pub url: Option<String>,
pub description: Option<String>,
}Expand description
Shared resource within a domain (e.g., shared schemas, libraries, utilities)
Fields§
§id: UuidUnique identifier for the resource
name: StringName of the shared resource
resource_type: StringType of resource (e.g., “schema”, “library”, “utility”, “template”)
url: Option<String>URL or path to the resource
description: Option<String>Optional description
Trait Implementations§
Source§fn clone(&self) -> SharedResource
fn clone(&self) -> SharedResource
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§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SharedResource, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SharedResource, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
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