pub struct GoogleCloudDocumentaiV1beta2DocumentPageMatrix {
pub cols: Option<i32>,
pub data: Option<Vec<u8>>,
pub rows: Option<i32>,
pub type_: Option<i32>,
}Expand description
Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cols: Option<i32>Number of columns in the matrix.
data: Option<Vec<u8>>The matrix data.
rows: Option<i32>Number of rows in the matrix.
type_: Option<i32>This encodes information about what data type the matrix uses. For example, 0 (CV_8U) is an unsigned 8-bit image. For the full list of OpenCV primitive data types, please refer to https://docs.opencv.org/4.3.0/d1/d1b/group__core__hal__interface.html
Trait Implementations§
Source§impl Clone for GoogleCloudDocumentaiV1beta2DocumentPageMatrix
impl Clone for GoogleCloudDocumentaiV1beta2DocumentPageMatrix
Source§fn clone(&self) -> GoogleCloudDocumentaiV1beta2DocumentPageMatrix
fn clone(&self) -> GoogleCloudDocumentaiV1beta2DocumentPageMatrix
Returns a duplicate 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 moreSource§impl Default for GoogleCloudDocumentaiV1beta2DocumentPageMatrix
impl Default for GoogleCloudDocumentaiV1beta2DocumentPageMatrix
Source§fn default() -> GoogleCloudDocumentaiV1beta2DocumentPageMatrix
fn default() -> GoogleCloudDocumentaiV1beta2DocumentPageMatrix
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1beta2DocumentPageMatrix
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1beta2DocumentPageMatrix
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
impl Part for GoogleCloudDocumentaiV1beta2DocumentPageMatrix
Auto Trait Implementations§
impl Freeze for GoogleCloudDocumentaiV1beta2DocumentPageMatrix
impl RefUnwindSafe for GoogleCloudDocumentaiV1beta2DocumentPageMatrix
impl Send for GoogleCloudDocumentaiV1beta2DocumentPageMatrix
impl Sync for GoogleCloudDocumentaiV1beta2DocumentPageMatrix
impl Unpin for GoogleCloudDocumentaiV1beta2DocumentPageMatrix
impl UnwindSafe for GoogleCloudDocumentaiV1beta2DocumentPageMatrix
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