pub struct DataFlow {
pub reads: bool,
pub writes: bool,
pub egress: bool,
}Expand description
Declares what a provider does with data, so a host can gate consent before ever sending it a query.
Fields§
§reads: boolCan see workspace content via query payloads.
writes: boolPersists context/upsert writes.
egress: boolSends anything off the local machine. A host MUST require explicit,
one-time consent before enabling a provider with egress: true.
Trait Implementations§
impl Copy for DataFlow
Source§impl<'de> Deserialize<'de> for DataFlow
impl<'de> Deserialize<'de> for DataFlow
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 DataFlow
impl StructuralPartialEq for DataFlow
Auto Trait Implementations§
impl Freeze for DataFlow
impl RefUnwindSafe for DataFlow
impl Send for DataFlow
impl Sync for DataFlow
impl Unpin for DataFlow
impl UnsafeUnpin for DataFlow
impl UnwindSafe for DataFlow
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