pub struct PushPolicy {
pub owners: Vec<String>,
pub shared: Vec<String>,
}Expand description
~/.config/ljos/push.toml, optional: whose remotes are the person’s
own, when the forge cannot be asked. Without it gh answers.
Fields§
§owners: Vec<String>Account or group names whose repositories are the person’s.
owner/repo globs that are the person’s but shared with others,
so a push to them needs a cited decision even before a release.
Trait Implementations§
Source§impl Clone for PushPolicy
impl Clone for PushPolicy
Source§impl Debug for PushPolicy
impl Debug for PushPolicy
Source§impl Default for PushPolicy
impl Default for PushPolicy
Source§impl<'de> Deserialize<'de> for PushPolicy
impl<'de> Deserialize<'de> for PushPolicy
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 PushPolicy
Source§impl PartialEq for PushPolicy
impl PartialEq for PushPolicy
impl StructuralPartialEq for PushPolicy
Auto Trait Implementations§
impl Freeze for PushPolicy
impl RefUnwindSafe for PushPolicy
impl Send for PushPolicy
impl Sync for PushPolicy
impl Unpin for PushPolicy
impl UnsafeUnpin for PushPolicy
impl UnwindSafe for PushPolicy
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<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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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