Struct cyfs_base::PeopleBodyContent
source · pub struct PeopleBodyContent { /* private fields */ }
Implementations§
source§impl PeopleBodyContent
impl PeopleBodyContent
pub fn new( ood_work_mode: OODWorkMode, ood_list: Vec<DeviceId>, name: Option<String>, icon: Option<FileId> ) -> Self
pub fn ood_work_mode(&self) -> OODWorkMode
pub fn set_ood_work_mode(&mut self, ood_work_mode: OODWorkMode)
pub fn ood_list(&self) -> &Vec<DeviceId>
pub fn ood_list_mut(&mut self) -> &mut Vec<DeviceId>
pub fn name(&self) -> Option<&str>
pub fn icon(&self) -> Option<&FileId>
pub fn set_name(&mut self, name: String)
pub fn set_icon(&mut self, icon: FileId)
Trait Implementations§
source§impl BodyContent for PeopleBodyContent
impl BodyContent for PeopleBodyContent
source§impl Clone for PeopleBodyContent
impl Clone for PeopleBodyContent
source§fn clone(&self) -> PeopleBodyContent
fn clone(&self) -> PeopleBodyContent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more