#[derive(
Debug,
Clone,
conjure_object::serde::Serialize,
conjure_object::serde::Deserialize,
PartialEq,
Eq,
PartialOrd,
Ord,
Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct Geo3dDisplayVector {
#[builder(into)]
#[serde(rename = "vectorId")]
vector_id: String,
#[builder(custom(type = super::Geo3dDisplayVectorKind, convert = Box::new))]
#[serde(rename = "kind")]
kind: Box<super::Geo3dDisplayVectorKind>,
#[serde(rename = "enabled")]
enabled: bool,
}
impl Geo3dDisplayVector {
#[inline]
pub fn new(
vector_id: impl Into<String>,
kind: super::Geo3dDisplayVectorKind,
enabled: bool,
) -> Self {
Self::builder().vector_id(vector_id).kind(kind).enabled(enabled).build()
}
#[inline]
pub fn vector_id(&self) -> &str {
&*self.vector_id
}
#[inline]
pub fn kind(&self) -> &super::Geo3dDisplayVectorKind {
&*self.kind
}
#[inline]
pub fn enabled(&self) -> bool {
self.enabled
}
}