Struct teaclave_types::FunctionUsage
source · [−]pub struct FunctionUsage {
pub function_id: Uuid,
pub use_numbers: i32,
}
Fields
function_id: Uuid
use_numbers: i32
Trait Implementations
sourceimpl Debug for FunctionUsage
impl Debug for FunctionUsage
sourceimpl Default for FunctionUsage
impl Default for FunctionUsage
sourcefn default() -> FunctionUsage
fn default() -> FunctionUsage
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FunctionUsage
impl<'de> Deserialize<'de> for FunctionUsage
sourcefn 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
sourceimpl Serialize for FunctionUsage
impl Serialize for FunctionUsage
sourceimpl Storable for FunctionUsage
impl Storable for FunctionUsage
fn key_prefix() -> &'static str
fn uuid(&self) -> Uuid
fn key_string(&self) -> String
fn key(&self) -> Vec<u8>
fn match_prefix(key: &str) -> bool
fn to_vec(&self) -> Result<Vec<u8>>
fn from_slice(bytes: &[u8]) -> Result<Self>
fn external_id(&self) -> ExternalID
Auto Trait Implementations
impl RefUnwindSafe for FunctionUsage
impl Send for FunctionUsage
impl Sync for FunctionUsage
impl Unpin for FunctionUsage
impl UnwindSafe for FunctionUsage
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request