Struct dbus_udisks2::block::Block[][src]

pub struct Block {
    pub crypto_backing_device: String,
    pub device_number: u64,
    pub device: String,
    pub drive: String,
    pub encrypted: Option<Encrypted>,
    pub hint_auto: bool,
    pub hint_icon_name: Option<String>,
    pub hint_ignore: bool,
    pub hint_name: Option<String>,
    pub hint_partitionable: bool,
    pub hint_symbolic_icon_name: Option<String>,
    pub hint_system: bool,
    pub id_label: Option<String>,
    pub id_type: Option<String>,
    pub id_usage: Option<String>,
    pub id_uuid: Option<String>,
    pub id_version: Option<String>,
    pub id: String,
    pub loopback: bool,
    pub mdraid: Option<String>,
    pub mdraid_member: Option<String>,
    pub mount_points: Option<Vec<String>>,
    pub partition: Option<Partition>,
    pub path: String,
    pub preferred_device: String,
    pub read_only: bool,
    pub size: u64,
    pub swapspace: Option<bool>,
    pub symlinks: Option<Vec<String>>,
    pub table: Option<PartitionTable>,
    pub userspace_mount_options: Option<Vec<String>>,
}

Fields

Methods

impl Block
[src]

This will be true if this block contains an encrypted volume.

If this block contains an encrypted volume, find the block associated with it.

Trait Implementations

impl Clone for Block
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Block
[src]

Formats the value using the given formatter. Read more

impl Default for Block
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Block

impl Sync for Block