pub struct Trusted {
pub default: Option<bool>,
pub files: Option<Vec<String>>,
}Expand description
The [package.metadata.flux.trusted] table.
Fields§
§default: Option<bool>Whether items are trusted by default
files: Option<Vec<String>>If present, only consider DefId in files that match any of the glob patterns as trusted.
Patterns are checked relative to the location of the manifest file.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Trusted
impl<'de> Deserialize<'de> for Trusted
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 Trusted
impl RefUnwindSafe for Trusted
impl Send for Trusted
impl Sync for Trusted
impl Unpin for Trusted
impl UnsafeUnpin for Trusted
impl UnwindSafe for Trusted
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