pub struct ClaudeCronJob {
pub id: String,
pub tool_use_id: String,
pub schedule: String,
pub recurring: bool,
pub durable_requested: bool,
pub prompt: String,
pub created_at: Option<String>,
pub expires_after_seconds: Option<u64>,
pub creation_result: String,
}Expand description
One active Claude Cron job.
Fields§
§id: StringHarness-assigned job ID recovered from the successful tool result.
tool_use_id: StringTool-use ID of the CronCreate call.
schedule: StringCron expression supplied by the model.
recurring: boolWhether the job repeats.
durable_requested: boolWhether durable scheduling was requested by the caller.
prompt: StringPrompt to inject when the job fires.
created_at: Option<String>Timestamp of the create call, when present.
expires_after_seconds: Option<u64>Relative expiry advertised by Claude’s result, when recoverable.
creation_result: StringExact successful tool-result text that assigned the ID.
Trait Implementations§
Source§impl Clone for ClaudeCronJob
impl Clone for ClaudeCronJob
Source§fn clone(&self) -> ClaudeCronJob
fn clone(&self) -> ClaudeCronJob
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClaudeCronJob
impl Debug for ClaudeCronJob
Source§impl<'de> Deserialize<'de> for ClaudeCronJob
impl<'de> Deserialize<'de> for ClaudeCronJob
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ClaudeCronJob, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ClaudeCronJob, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ClaudeCronJob
Source§impl PartialEq for ClaudeCronJob
impl PartialEq for ClaudeCronJob
Source§impl Serialize for ClaudeCronJob
impl Serialize for ClaudeCronJob
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ClaudeCronJob
Auto Trait Implementations§
impl Freeze for ClaudeCronJob
impl RefUnwindSafe for ClaudeCronJob
impl Send for ClaudeCronJob
impl Sync for ClaudeCronJob
impl Unpin for ClaudeCronJob
impl UnsafeUnpin for ClaudeCronJob
impl UnwindSafe for ClaudeCronJob
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.