pub struct SetLocalMapping {
pub request_id: String,
pub service_id: String,
pub enabled: bool,
}Expand description
Client to server: open (or close) a service to local mapping. Needs service:admin on the
service. A service is closed to local mapping until an administrator opens it, because the server
cannot see stores into a mapping: only operating-system file permissions guard it. While open, a
client with a write grant is offered path and nonce_path by GetServiceFilePath; closing it
stops future offers (an existing mapping ends at the next rotation).
Fields§
§request_id: String§service_id: String§enabled: boolTrait Implementations§
Source§impl Clone for SetLocalMapping
impl Clone for SetLocalMapping
Source§impl Debug for SetLocalMapping
impl Debug for SetLocalMapping
Source§impl<'de> Deserialize<'de> for SetLocalMapping
impl<'de> Deserialize<'de> for SetLocalMapping
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 SetLocalMapping
Source§impl PartialEq for SetLocalMapping
impl PartialEq for SetLocalMapping
Source§impl Serialize for SetLocalMapping
impl Serialize for SetLocalMapping
impl StructuralPartialEq for SetLocalMapping
Auto Trait Implementations§
impl Freeze for SetLocalMapping
impl RefUnwindSafe for SetLocalMapping
impl Send for SetLocalMapping
impl Sync for SetLocalMapping
impl Unpin for SetLocalMapping
impl UnsafeUnpin for SetLocalMapping
impl UnwindSafe for SetLocalMapping
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