pub struct ResourceFields {
pub resource_kind: String,
pub resource_label: String,
pub semantic_identity: Option<ResourceSemanticIdentity>,
pub workspace: Option<String>,
}Expand description
The fields of a resource every one of its actions carries.
Fields§
§resource_kind: String§resource_label: String§semantic_identity: Option<ResourceSemanticIdentity>§workspace: Option<String>The workspace holding the resource when it is not the one the publishing window is open
in (crate::ResourceSpec::workspace): that workspace admits its actions.
Trait Implementations§
Source§impl Clone for ResourceFields
impl Clone for ResourceFields
Source§impl Debug for ResourceFields
impl Debug for ResourceFields
Source§impl<'de> Deserialize<'de> for ResourceFields
impl<'de> Deserialize<'de> for ResourceFields
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 ResourceFields
Source§impl PartialEq for ResourceFields
impl PartialEq for ResourceFields
Source§impl Serialize for ResourceFields
impl Serialize for ResourceFields
impl StructuralPartialEq for ResourceFields
Auto Trait Implementations§
impl Forget for ResourceFields
impl Freeze for ResourceFields
impl Move for ResourceFields
impl RefUnwindSafe for ResourceFields
impl Send for ResourceFields
impl Sync for ResourceFields
impl Unpin for ResourceFields
impl UnsafeUnpin for ResourceFields
impl UnwindSafe for ResourceFields
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more