pub struct Block {Show 24 fields
pub id: Uuid,
pub provider: String,
pub provisioner: ProvisionerType,
pub language: String,
pub key: String,
pub digest: u64,
pub references: Vec<Vec<Segment>>,
pub kind: String,
pub type: Option<String>,
pub name: Option<String>,
pub config: Value,
pub document_uri: String,
pub code: String,
pub start_byte: usize,
pub end_byte: usize,
pub start_point: Point,
pub end_point: Point,
pub state: Option<Value>,
pub updated_at: Option<DateTime<Utc>>,
pub created_at: Option<DateTime<Utc>>,
pub dependents: Vec<DependentBlock>,
pub dependencies: Vec<Dependency>,
pub api_group_version: Option<ApiGroupVersion>,
pub generated_summary: Option<String>,
}Fields§
§id: Uuid§provider: String§provisioner: ProvisionerType§language: String§key: String§digest: u64§references: Vec<Vec<Segment>>§kind: String§type: Option<String>§name: Option<String>§config: Value§document_uri: String§code: String§start_byte: usize§end_byte: usize§start_point: Point§end_point: Point§state: Option<Value>§updated_at: Option<DateTime<Utc>>§created_at: Option<DateTime<Utc>>§dependents: Vec<DependentBlock>§dependencies: Vec<Dependency>§api_group_version: Option<ApiGroupVersion>§generated_summary: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Block
impl<'de> Deserialize<'de> for Block
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 Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnwindSafe for Block
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request