pub struct HostPermissionRequest {
pub host_id: String,
pub permission: PermissionKey,
}Expand description
Internal local-control request. Not an App Facade operation. The server must verify the local control credential and Host identity; this DTO deliberately has no caller-controlled isLocal flag or arbitrary Settings URL.
Fields§
§host_id: String§permission: PermissionKeyTrait Implementations§
Source§impl Clone for HostPermissionRequest
impl Clone for HostPermissionRequest
Source§fn clone(&self) -> HostPermissionRequest
fn clone(&self) -> HostPermissionRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HostPermissionRequest
impl Debug for HostPermissionRequest
Source§impl<'de> Deserialize<'de> for HostPermissionRequest
impl<'de> Deserialize<'de> for HostPermissionRequest
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 HostPermissionRequest
impl RefUnwindSafe for HostPermissionRequest
impl Send for HostPermissionRequest
impl Sync for HostPermissionRequest
impl Unpin for HostPermissionRequest
impl UnsafeUnpin for HostPermissionRequest
impl UnwindSafe for HostPermissionRequest
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