pub struct ParamsExport {
pub tag_id: Option<i64>,
pub encoding_aeskey: String,
pub block_size: Option<i64>,
}Fields§
§tag_id: Option<i64>需要导出的标签
encoding_aeskey: Stringbase64encode的加密密钥,长度固定为43, base64decode之后即得到AESKey。 加密方式采用AES-256-CBC方式, 数据采用PKCS#7填充至32字节的倍数; IV初始向量大小为16字节, 取AESKey前16字节, 详见:https://datatracker.ietf.org/doc/html/rfc2315
block_size: Option<i64>每块数据的人员数和部门数之和,支持范围[104,106],默认值为106
Trait Implementations§
Source§impl Debug for ParamsExport
impl Debug for ParamsExport
Source§impl Default for ParamsExport
impl Default for ParamsExport
Source§fn default() -> ParamsExport
fn default() -> ParamsExport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ParamsExport
impl<'de> Deserialize<'de> for ParamsExport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ParamsExport
impl RefUnwindSafe for ParamsExport
impl Send for ParamsExport
impl Sync for ParamsExport
impl Unpin for ParamsExport
impl UnwindSafe for ParamsExport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more