gemini_ai::pulse::format

Struct Properties

Source
pub struct Properties {
    pub name: String,
    pub description: String,
    pub parameter: Paramters,
    pub required: [String],
}

Fields§

§name: String§description: String§parameter: Paramters§required: [String]

Implementations§

Source§

impl Properties

Source

pub fn new( name: &str, description: &str, parameters: Option<Paramters>, reqired: Option<&[&str]>, ) -> String

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more