Docs.rs
bucky-objects-0.1.0
bucky-objects 0.1.0
Permalink
Docs.rs crate page
MIT
Links
crates.io
Source
Owners
BDTDevTeam
Dependencies
async-recursion ^1.1.1
normal
async-std ^1.12.0
normal
async-trait ^0.1.80
normal
base-x ^0.2
normal
base58 ^0.2.0
normal
bucky-crypto ^0.1.0
normal
bucky-error ^0.1.0
normal
bucky-raw-codec ^0.1.0
normal
bucky-time ^0.1.0
normal
generic-array ^0.12
normal
hex ^0.4.3
normal
intbits ^0.2.0
normal
itertools ^0.13.0
normal
log ^0.4.21
normal
lru_time_cache ^0.11.11
normal
once_cell ^1.19.0
normal
primitive-types ^0.12.2
normal
protobuf ^2
normal
rand ^0.8.5
normal
serde ^1.0.202
normal
chrono ^0.4
build
protoc-bin-vendored ^3
build
protoc-rust ^2
build
Versions
2.29%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
bucky_
objects
0.1.0
People
Aliased Type
Methods
icon
name
new
ood_list
ood_list_mut
ood_work_mode
set_icon
set_name
set_ood_work_mode
In crate bucky_
objects
bucky_objects
Type Alias
People
Copy item path
Source
pub type People =
NamedObjectBase
<
PeopleType
>;
Aliased Type
§
pub struct People {
/* private fields */
}
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
)