pub struct JobACL {
pub namespace: String,
pub job_id: String,
pub group: String,
pub task: String,
}
Expand description
JobACL represents an ACL policy’s attachment to a job, group, or task.
This struct was generated based on the Go types of the official Nomad API.
Fields§
§namespace: String
§job_id: String
§group: String
§task: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobACL
impl<'de> Deserialize<'de> for JobACL
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 StructuralPartialEq for JobACL
Auto Trait Implementations§
impl Freeze for JobACL
impl RefUnwindSafe for JobACL
impl Send for JobACL
impl Sync for JobACL
impl Unpin for JobACL
impl UnwindSafe for JobACL
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