pub struct GrantSources {
pub plan: String,
pub serve: String,
pub credential_path: Option<PathBuf>,
pub placement: Option<(PathBuf, String)>,
}Expand description
Operator-selected machine-held grants from which the two rights derive.
Fields§
§plan: StringA source allowing delegation of the service’s plan action to agents.
serve: StringA source allowing delegation of the service’s serve action to agents.
credential_path: Option<PathBuf>The credential Lys admits on its grant routes for the account holding both sources (a registrar or service-account app credential, mode 0600). Lys admits no agent or machine pass there; absent, the machine pass is offered.
placement: Option<(PathBuf, String)>The app credential that places resources ([auth.lys].app_credential_path) and the
network a site’s service is placed under; filled from [auth.lys], never from this table.
Trait Implementations§
Source§impl Clone for GrantSources
impl Clone for GrantSources
Source§impl Debug for GrantSources
impl Debug for GrantSources
Source§impl<'de> Deserialize<'de> for GrantSources
impl<'de> Deserialize<'de> for GrantSources
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 GrantSources
Source§impl PartialEq for GrantSources
impl PartialEq for GrantSources
impl StructuralPartialEq for GrantSources
Auto Trait Implementations§
impl Freeze for GrantSources
impl RefUnwindSafe for GrantSources
impl Send for GrantSources
impl Sync for GrantSources
impl Unpin for GrantSources
impl UnsafeUnpin for GrantSources
impl UnwindSafe for GrantSources
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.