pub struct SourceConstraints {
pub no_scripts: bool,
pub no_secrets_read: bool,
pub allowed_target_paths: Vec<String>,
pub allow_system_changes: bool,
pub require_signed_commits: bool,
pub encryption: Option<EncryptionConstraint>,
}Fields§
§no_scripts: bool§no_secrets_read: bool§allowed_target_paths: Vec<String>§allow_system_changes: bool§require_signed_commits: boolRequire that the HEAD commit in this source’s git repo has a valid
GPG or SSH signature. Subscribers can bypass with security.allow-unsigned.
encryption: Option<EncryptionConstraint>Encryption requirements imposed on files delivered by this source.
Trait Implementations§
Source§impl Clone for SourceConstraints
impl Clone for SourceConstraints
Source§fn clone(&self) -> SourceConstraints
fn clone(&self) -> SourceConstraints
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SourceConstraints
impl Debug for SourceConstraints
Source§impl Default for SourceConstraints
impl Default for SourceConstraints
Source§impl<'de> Deserialize<'de> for SourceConstraints
impl<'de> Deserialize<'de> for SourceConstraints
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
Auto Trait Implementations§
impl Freeze for SourceConstraints
impl RefUnwindSafe for SourceConstraints
impl Send for SourceConstraints
impl Sync for SourceConstraints
impl Unpin for SourceConstraints
impl UnsafeUnpin for SourceConstraints
impl UnwindSafe for SourceConstraints
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