#[non_exhaustive]pub struct ProxyData {
pub uri: Option<String>,
pub required_read_permission: Option<String>,
pub required_write_permission: Option<String>,
pub metadata: Option<Metadata>,
}Expand description
A proxyData entry: data shared through the data-share proxy.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.uri: Option<String>uri: the datashareproxy:// URI the data is published under.
required_read_permission: Option<String>requiredReadPermission: permission a reader must hold.
required_write_permission: Option<String>requiredWritePermission: permission a writer must hold.
metadata: Option<Metadata>metadata: the entry’s single metadata object.
Trait Implementations§
impl Eq for ProxyData
impl StructuralPartialEq for ProxyData
Auto Trait Implementations§
impl Forget for ProxyData
impl Freeze for ProxyData
impl Move for ProxyData
impl RefUnwindSafe for ProxyData
impl Send for ProxyData
impl Sync for ProxyData
impl Unpin for ProxyData
impl UnsafeUnpin for ProxyData
impl UnwindSafe for ProxyData
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