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]
impl ContainersReq
pub fn into_repr_c(self) -> Result<ContainersReq, IpcError>
[src]
pub fn into_repr_c(self) -> Result<ContainersReq, IpcError>
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]
impl Clone for ContainersReq
fn clone(&self) -> ContainersReq
[src]
fn clone(&self) -> ContainersReq
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for ContainersReq
[src]
impl Eq for ContainersReq
impl PartialEq for ContainersReq
[src]
impl PartialEq for ContainersReq
fn eq(&self, other: &ContainersReq) -> bool
[src]
fn eq(&self, other: &ContainersReq) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ContainersReq) -> bool
[src]
fn ne(&self, other: &ContainersReq) -> bool
This method tests for !=
.
impl Debug for ContainersReq
[src]
impl Debug for ContainersReq
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl ReprC for ContainersReq
[src]
impl ReprC for ContainersReq
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]
unsafe fn clone_from_repr_c(
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.
Auto Trait Implementations
impl Send for ContainersReq
impl Send for ContainersReq
impl Sync for ContainersReq
impl Sync for ContainersReq