Struct safe_core::ipc::ContainersReq
[−]
[src]
pub struct ContainersReq { pub app: AppExchangeInfo, pub containers: HashMap<String, ContainerPermissions>, }
Containers request
Fields
app: AppExchangeInfo
Exchange info
containers: HashMap<String, ContainerPermissions>
Requested containers
Methods
impl ContainersReq
[src]
fn into_repr_c(self) -> Result<ContainersReq, IpcError>
[src]
Consumes the object and returns the FFI counterpart.
You're now responsible for freeing the subobjects memory once you're done.
Trait Implementations
impl Clone for ContainersReq
[src]
fn clone(&self) -> ContainersReq
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for ContainersReq
[src]
impl PartialEq for ContainersReq
[src]
fn eq(&self, __arg_0: &ContainersReq) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ContainersReq) -> bool
[src]
This method tests for !=
.
impl Debug for ContainersReq
[src]
impl ReprC for ContainersReq
[src]
type C = *const ContainersReq
C representation of the type
type Error = IpcError
Error type
unsafe fn clone_from_repr_c(
repr_c: *const ContainersReq
) -> Result<Self, IpcError>
[src]
repr_c: *const ContainersReq
) -> Result<Self, IpcError>
Constructs the object from the FFI counterpart.
After calling this functions, the subobjects memory is owned by the resulting object.