#[non_exhaustive]pub struct RecognizedPlate {
pub char_confs: String,
pub conf: f64,
pub coordinate_bottom: i64,
pub coordinate_left: i64,
pub coordinate_right: i64,
pub coordinate_top: i64,
pub created_at: String,
pub plate: String,
pub plate_type: RecognizedPlatePlatetype,
pub time: String,
}Expand description
RecognizedPlate is a resource of Alpr.sh’s API.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.char_confs: StringConfiança de cada caractere, de 0 a 1 com duas casas, separadas por ponto e vírgula (“0.99;0.98”).
conf: f64Confiança da placa, de 0 a 100, com uma casa.
coordinate_bottom: i64Pixels da foto enviada.
coordinate_left: i64§coordinate_right: i64§coordinate_top: i64§created_at: StringIgual a time.
plate: StringSete caracteres, maiúsculos: ABC1234 ou ABC1D23 (Mercosul).
plate_type: RecognizedPlatePlatetypeSempre car; a API não informa país nem formato.
time: StringInstante da leitura, com o deslocamento do fuso do Alpr.sh.
Trait Implementations§
Source§impl Clone for RecognizedPlate
impl Clone for RecognizedPlate
Source§impl Debug for RecognizedPlate
impl Debug for RecognizedPlate
Source§impl<'de> Deserialize<'de> for RecognizedPlate
impl<'de> Deserialize<'de> for RecognizedPlate
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
Source§impl PartialEq for RecognizedPlate
impl PartialEq for RecognizedPlate
Source§impl Serialize for RecognizedPlate
impl Serialize for RecognizedPlate
impl StructuralPartialEq for RecognizedPlate
Auto Trait Implementations§
impl Freeze for RecognizedPlate
impl RefUnwindSafe for RecognizedPlate
impl Send for RecognizedPlate
impl Sync for RecognizedPlate
impl Unpin for RecognizedPlate
impl UnsafeUnpin for RecognizedPlate
impl UnwindSafe for RecognizedPlate
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