Enum googapis::google::cloud::osconfig::v1::os_policy::resource::ResourceType [−][src]
pub enum ResourceType {
Pkg(PackageResource),
Repository(RepositoryResource),
Exec(ExecResource),
File(FileResource),
}
Expand description
Resource type.
Variants
Pkg(PackageResource)
Package resource
Tuple Fields of Pkg
Repository(RepositoryResource)
Package repository resource
Tuple Fields of Repository
Exec(ExecResource)
Exec resource
Tuple Fields of Exec
0: ExecResource
File(FileResource)
File resource
Tuple Fields of File
0: FileResource
Implementations
pub fn merge<B>(
field: &mut Option<ResourceType>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ResourceType
impl Send for ResourceType
impl Sync for ResourceType
impl Unpin for ResourceType
impl UnwindSafe for ResourceType
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more