Docs.rs
cyfs-base-0.6.12
cyfs-base 0.6.12
Docs.rs crate page
BSD-2-Clause
Links
crates.io
Source
Owners
BDTDevTeam
Dependencies
aes =0.7
normal
async-recursion ^1.0
normal
async-std ^1.11
normal
async-trait ^0.1.53
normal
base-x ^0.2.0
normal
base58 ^0.2.0
normal
block-modes =0.8
normal
chrono ^0.4
normal
cyfs-base-derive ^0.5
normal
cyfs-ecies ^0.1.4
normal
generic-array ^0.12
normal
hex ^0.4
normal
http-types ^2.12
normal
int-enum ^0.4
normal
intbits ^0.2
normal
itertools ^0.10
normal
lazy_static ^1.4
normal
libc ^0.2
normal
libsecp256k1 ^0.3.5
normal
log ^0.4
normal
lru_time_cache ^0.11
normal
once_cell ^1.12
normal
primitive-types ^0.9
normal
protobuf ^2
normal
rand ^0.7
normal
rsa ^0.3.0
normal
rsa-export ^0.1.1
normal
serde ^1.0
normal
serde_json ^1.0
normal
sha2 ^0.8
normal
simple_logger ^2.1
normal
sqlx ^0.5
normal
url ^2.2
normal
chrono ^0.4
build
protoc-bin-vendored ^3
build
protoc-rust ^2
build
rusqlite ^0.27.0
normal
zip ^0.6
normal
Versions
Platform
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
People
Methods
icon
name
new
ood_list
ood_list_mut
ood_work_mode
set_icon
set_name
set_ood_work_mode
In cyfs_base
?
Type Definition
cyfs_base
::
People
source
·
[
−
]
pub type People =
NamedObjectBase
<
PeopleType
>;
Implementations
§
source
§
impl
People
source
pub fn
new
( owner:
Option
<
ObjectId
>, ood_list:
Vec
<
DeviceId
>, public_key:
PublicKey
, area:
Option
<
Area
>, name:
Option
<
String
>, icon:
Option
<
FileId
> ) ->
PeopleBuilder
source
pub fn
ood_work_mode
(&self) ->
OODWorkMode
source
pub fn
set_ood_work_mode
(&mut self, ood_work_mode:
OODWorkMode
)
source
pub fn
ood_list
(&self) -> &
Vec
<
DeviceId
>
source
pub fn
ood_list_mut
(&mut self) -> &mut
Vec
<
DeviceId
>
source
pub fn
name
(&self) ->
Option
<&
str
>
source
pub fn
icon
(&self) ->
Option
<&
FileId
>
source
pub fn
set_name
(&mut self, name:
String
)
source
pub fn
set_icon
(&mut self, icon:
FileId
)