Struct golem_client::model::Component
source · pub struct Component {
pub versioned_template_id: VersionedComponentId,
pub user_template_id: UserComponentId,
pub protected_template_id: ProtectedComponentId,
pub template_name: ComponentName,
pub template_size: i32,
pub metadata: ComponentMetadata,
pub project_id: Uuid,
}
Fields§
§versioned_template_id: VersionedComponentId
§user_template_id: UserComponentId
§protected_template_id: ProtectedComponentId
§template_name: ComponentName
§template_size: i32
§metadata: ComponentMetadata
§project_id: Uuid
Trait Implementations§
source§impl<'de> Deserialize<'de> for Component
impl<'de> Deserialize<'de> for Component
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<Component> for Component
impl PartialEq<Component> for Component
impl Eq for Component
impl StructuralEq for Component
impl StructuralPartialEq for Component
Auto Trait Implementations§
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnwindSafe for Component
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.